Elon Musk’s xAI is preparing a formidable Grok upgrade-aiming to outpace rivals with a new code-generating tool that could reshape the AI coding landscape.