Elon Musk’s rocket and AI conglomerate is seeking to catch up to rivals OpenAI and Anthropic