As to subsidies, governments are pushing ev's harder and harder. The EU has continually-increasing fleet standards that can be met only by adding more ev's, and China has continually increasing ev production standards. Ev sales are going to keep increasing, and Tesla makes the best ev's. Sales, revenues and profits are going to keep going up.
Their capital efficiency has markedly increased.
To put it less glamorously, they burned boatloads of money chasing “alien dreadnaught” style fully automated production, and after recognizing that failure (better late than never) they now find they are able to build out new production lines at a fraction of the first line’s cost.