Musk has been a pretty vocal critic of AI, and his comments come amid escalating tensions between the U.S. and North Korea.