A behind-the-scenes clash between Elon Musk and Apple has come to light, centered on Grok AI’s controversial image tools.