Elon Musk has announced that his artificial intelligence company, xAI, is buying the social media platform X (formerly…