American vehicle manufacturing was a strategic advantage during WWII because they swiftly pivoted to selling tanks to the government instead of cars to civilians.
Which isn't unprecedented. But it's also far from the equivalence your comment suggests.
and commercial cargo transport.
And lots of other stuff.
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.
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.
Also, if it is that strategically important, the government can just buy SpaceX.
https://en.wikipedia.org/wiki/Defense_Production_Act_of_1950