Tesla said Jim Keller, who had been in charge of the electric-car maker’s controversial Autopilot software, has left the company. Keller will be replaced by Pete Bannon, who has been with Tesla for over two years and has previously overseen Apple’s A5 chip develop through to the A9 chip, a Tesla spokeswoman said.