Elon Musk, CEO of Twitter, says he is building an artificial intelligence model to compete with ChatGPT, which is backed by Microsoft.