Musk and xAI are racing to catch up to other AI companies on coding, a lucrative market for AI and an area where the billionaire admits his firm has fallen behind