Plus having the government as a customer is very different from receiving subsidies from the government. SpaceX certainly has got some r&d funds from nasa, but on the whole most of their “government funding” comes in the form of contracts that they won on merit.
Tesla’s a bit different, but consider that the government intended to spend a bunch of subsidize the rollout of electric cars and I’d argue that they got what they paid for. Had it not been for Tesla moving aggressively into that space I don’t think we’ve have nearly as many viable electric cars at this point. Certainly it’s more of a subsidy to it was to achieve a specific policy goal and that’s really not quite the same as (for example) when we specifically bail out a company with taxpayer funds because they are at risk of failure.
Realistically they were almost certainly from a list of 69 remedies that spacex proposed to the FAA. I don’t think the FAA is coming up with those items on their own.