Isn't the public money being thrown at SpaceX through NASA?
NASA knows exactly what they're buying. They've just become such a bureaucratic, top-heavy, risk-adverse organization (by Congressional design) that it's a better deal to outsource pieces to SpaceX.