Musk spent a quarter of a billion dollars this year helping elect Donald Trump to a second term as president.