PALO ALTO, Calif.—Tesla Inc. Chief Executive Elon Musk jolted the automotive world last year when he announced the company’s new vehicles would come with a hardware upgrade that would eventually allow them to drive themselves.

He also jolted his own engineering ranks.

Members of the company’s Autopilot team hadn’t yet designed a product they...