The latest departures, days after shareholders backed Elon Musk’s $1 trillion pay package, follow the loss of top sales, battery, robotics and chip executives this year.