Worth mentioning the thing that likely motivated TSLA to be profitable is that it’s a requirement to be considered for inclusion in the S&P 500 index.
I don't really think that is worth mentioning. Tesla always wanted to be profitable, to get their they need a high margin mass production vehicle. Since they had that, the Model 3, they have been profitable. The Model 3 was always the plan.