On the other hand, I met a person recently who works for Lockheed and I'm pretty sure he was regularly (or randomly) tested at his workplace.
SpaceX does receive other funding as part of various NASA contracts, but that funding is also related to providing services to them, not just receiving money for nothing.
1: https://en.wikipedia.org/wiki/List_of_Falcon_9_and_Falcon_He...
2: https://en.wikipedia.org/wiki/List_of_Falcon_9_and_Falcon_He...
From that source, SpaceX has about ~$5.515B in contracts. Of that, about $5.411B is from government contracts (military, NASA). That's about 98.1%.
There's probably a good chance it's higher, if they have govt contracts that aren't allowed to be public knowledge for security reasons.
Also, nobody is claiming SpaceX receives "money for nothing" from the govt. They are a contractor who, at least at these relatively early stages, need government contracts to survive. It's not necessarily a bad thing, and it's the way many nascent industries survive. But we need to call a spade a spade.
[1] https://docs.google.com/spreadsheets/d/1ld7Dz__7_VjqMd2uZNgA...
Edit: I did unreasonably make the assumption that you were making the case the SpaceX was receiving subisidies for "nothing" and I see that you weren't now.
When talking about funding in general, you also have to consider that SpaceX has significant non launch Equity funding to the tune of $10B, and that contracts can include potential future Revenue instead of funds received.
Edit: If you look at their launches for 2020 onwards[1], Their number 1 customer is SpaceX (themselves), followed by US and other governments, followed by private companies.
https://en.wikipedia.org/wiki/List_of_Falcon_9_and_Falcon_He...
While your borader conclusion is probably accurate regarding income, your spreadsheet only 71 of 216 Falcon 9 and Falcon Heavy launches, for ~$9B total. This is roughly on par with the VC funding they have recieved.
You can literally just go threw the list of their launches on Wikipedia an notice that nothing close to even 80% of them are for the government.
And that is outside of their Starship business, that is by now a large part of its revenue.
The numbers you present are ridicoulus, they have easily more money just from human space flight from Polaris and Axiom.
That is nonsense. Look at their flight manifest and see how many flights are NASA or Space Force. Maybe like 3 launches in the next several months out of planned 25.
The point is their business model is predicated on using govt contracts early, when they were an unproven commodity, because the govt is generally the only organization who can take those kinds of risks. In turn, this fosters the development of a space industry which can transition to more private revenue streams. Musk himself said they were in the 11th hour of bankruptcy before NASA "saved" them with a huge contract.