Elon Musk has shifted Tesla’s priority from making electric vehicles to building artificial intelligence-driven self-driving technology and humanoid robots