Healthcare, education, roads, prisons, electricity, transit, all of it is designed in the USA so a company can extract profit.
Why wouldn't SpaceX turn into the funding and political football that NASA is, if it were nationalized?
Like, this isn't a hypothetical. SpaceX only has a market because of the incompetence of the "public option."
That's quite inaccurate. NASA doesn't do much themselves, they hire external contractors but keep significant control over them. SpaceX got more funding and less control and they didn't start from scratch, NASA gave them all of their technical documentation, now-how and working prototypes.
NASA could have done everything SpaceX does if they were given the same conditions and funding, however, they've never had funding for blowing up five spaceships in row, they were held to much stricter standards.
The entire story looks like a blatant attempt to take control of space operations away from NASA and thus from the government.
This may have been hypothetically possible, as are many things that never came to be, but it is impossible to know whether this really would have happened.
However, we have a case of a private contractor trying to manipulate the president by means of "revelations" and decommissioning of a service important for national security. If the president cannot change those contracts the US would be literally on the path to oligarchic Russia... I'm not sure what's worse.
Trump is generally moving in the direction of reducing government control of corporations to the point of risking government capture by oligarchic interests. What's happening now is a direct consequence of his policies and it's ironic that Trump's powers are being questioned when it comes to corporate regulation.
Trump's personal faults are irrelevant at the moment, if the GOP doesn't stand firmly behind Trump we are going to find ourselves in an incredible mess.