The feds funded Spacex, for the most part.
It has SOME private funding, but the bulk of it is federal money.
What part of “they’re dominating the private launch sector” did you not understand? Yeah, they’re also dominating in WINNING government contracts because they can do the job cheaper than their competition. That’s what happens when capitalistic competition produces a disruptive new innovation.