Others are pointing this out but for anyone curious Tesla has received a tonne of indirect subsidy via electric vehicle sales incentives on the consumer side of the equation which absolutely translates into increased corporate profits. Across the globe EV sales in developed nations are very boosted via government programs ((which is a good thing imo)). I'll just link a wikipedia page[1] since I don't want to find a solid source but this isn't really debated it's the real world effect of laws and bills passed by the US gov and dozens of other countries around the world and has been extensively studied.
[1] https://en.wikipedia.org/wiki/Government_incentives_for_plug...