The company has also been working to incorporate more artificial intelligence into its recommendation algorithm for X, using Grok, Musk’s AI chatbot.