If you're talking about SpaceX, it was prominently funded by the US government.
Funded by governments and run by the government are vastly different things.
The argument was "[it] takes so much money and know how buildup that only nations and maybe the top 5 or so companies could pull it off. ", so the funding was the question, not who runs it.
That story still has to play out, and this arguably wouldn't have been possible without NASA's help.