The billionaire for a long time framed the automaker as an artificial-intelligence company. Then he started xAI.