US President Donald Trump claims fears about artificial intelligence safety are a "hoax,” as he criticises calls to slow the technology's development.