Musk’s cozy relationship with Trump has given investors further confidence in the success of Musk’s companies, particularly Tesla and SpaceX.