The 18-year company veteran — who co-hosted earnings calls and shared the stage with chief executive officer Elon Musk at multiple events, including Tesla's investor day just over a year ago — is leaving along with Rohan Patel, the carmaker's vice president of public policy and business development.