It isn't Hollywood accounting, it is just that Tesla isn't very profitable once the proper accounting is done. If you tax profits and companies don't have a lot of them then they won't pay taxes. Particularly if the government puts tax incentives in place to encourage people to go in to solar and EVs.
I guess that explains why Elon is so poor and the company is valued at practically nothing compare to all other automakers.
I urge you to check out the valuation of $Fartcoin.
The value of an speculative item is not linked to it's yield.
Valuation != profits. Tesla's profits do not explain Musk's wealth, people have been pointing out for years that the valuations of companies like Tesla make little sense. There was a long stretch of many years where they were bleeding red ink like crazy with not much to show for it.
The tax system works on accounting reality, not the opinions of stock traders.
But it _is_ profit, just without directly paying it out.