The electric car maker’s largest shareholder, Elon Musk, is a senior adviser to President Donald Trump.