Elon Musk‘s highly visible involvement in American politics over the past few years — culminating in several months serving as a key adviser to President Donald Trump — have come at a cost for Tesla.