United States President Donald Trump dismissed warnings regarding artificial intelligence risks as a "hoax" and opposed calls for tighter oversight of the technology.