Jim Keller, the head of Tesla's low-voltage hardware, Autopilot software and infotainment, is leaving the company.