Sure, maybe for Tesla, (and other similar growth at all cost technology companies) it it's not immediately profitable. Let's check back in 10 years and see if this makes Tesla and their investors any money.
Profit is a reflection of past performance, not future potential.
A profit is a realized financial gain. In a given period, income surpassed expenses.
A business failure is a business that has failed, it has ended.
A lack of profit can lead to failure, but in no way implies it.