Tesla CEO Elon Musk won shareholder approval on Thursday for the largest corporate pay package in history as investors endorsed his vision of morphing the EV maker into an AI and robotics juggernaut.