Elon Musk's endorsement of Donald Trump is expected to benefit the company once the Republican assumes office as the new US president.