To be more precise, the company is run by the DoD with significant technical and financial assistance. Elon is the main conduit between those deep resource and the rest of the company. He regularly meets with all teams to ensure they are aligned with "higher purposes".
To be even more precise, Elon is a front-man for a right-wing multi-decade program in American hegemony and actualizing it's crowning achievement--the Strategic Defense Initiative.