Tesla plans a $5 billion investment in Elon Musk's AI startup, xAI, to advance autonomous driving technology and AI integration into electric vehicles.