Tesla made US$1.5 billion from selling government-mandated carbon tax credits to legacy carmakers, mainly overseas, as well as various smaller subsidies. That's more than a quarter from its US$5.5 billion net income in 2021, forcing the SEC to mandate it report regulatory credits as a separate line item in its annual financial statement.
https://www.notebookcheck.net/Tesla-disclosed-government-credits-profit-only-after-the-SEC-mandated-it-new-documents-show.609779.0.html