I’m thinking that Tesla has a ways to go to hit the sweet spot in economy of production - but at some point they will get there and they should be very profitable.
The relative simplicity of an EV compared to a conventional ICE powered car is quite significant. It should take much less effort (labor, robotics) to assemble. At some point they should reap the benefits of that, and perhaps lower prices.
Tesla is almost there, and should be there within a year. They're paying down the debt on their new factories and expansion, which is paying for itself with more production and sales.
Tesla is not just a car manufacturing company. Selling cars is funding their other endeavors, that will be far more profitable. Very little effort now goes into producing their vehicles, due to the simplicity of their construction. They will make huge profits on their AI, robotics, and utility/energy divisions. Critics are focusing on their EV's, while being oblivious to what Tesla is all about.