Also, if it is that strategically important, the government can just buy SpaceX.
American vehicle manufacturing was a strategic advantage during WWII because they swiftly pivoted to selling tanks to the government instead of cars to civilians.
https://en.wikipedia.org/wiki/Defense_Production_Act_of_1950
Which isn't unprecedented. But it's also far from the equivalence your comment suggests.
https://en.wikipedia.org/wiki/Category:United_States_Navy_sh...
But that's mostly been "optimized away" in more-recent times, in the name of Capitalism and Campaign Donations.
and commercial cargo transport.
And lots of other stuff.
Problem is that we're talking about how it works currently. US also used to send its own specifically owned spacecrafts into space. But it hasn't in ages.