Only under magical unicorn fantasy accounting. Under the same accounting standards every other car maker uses (GAAP), Tesla still loses money on each car.
From Tesla's own financial report:
"excluding regulatory credit revenue, automotive gross margin improved by ~200bp (compared to a decrease of 125bp on a GAAP basis). [emphasis added]