well, the Asshole Coward before does have a point that the feds HAVE given SpaceX money. In particular, they have given 300 M to SpaceX to help develop Dragon, F1, and F9. Of course, it was a billion to build everything, so most money came from private funding.
What Asshole Coward purposely lies about is that ULA gets 1B / year for the last 10 years, AND SpaceX has lowered the costs of launch to the gov so much, that in the first couple of years, the feds made back their 300 Million.
And if the Asshole Coward tries to bring up 'gov subsidies' for Tesla/Solar City, he will only make more of an asshole out of himself.