From the reports they are. Uber and Lyft are unprofitable too.I'm aware of those reports
I don't think they're significantly ahead of anyone in those areas.
It's interesting that you claim they're ahead in autonomous cars, autonomous taxis and ride hailing.
Honestly the biggest barrier to autonomous vehicles at this time is regulatory approval and the liability problem. The technology in many cases is already better than human drivers.
They might be slightly ahead in batteries, one of the most critical parts, but they're way behind in high quality mass production.
The quality rankings of Tesla have dropped significantly, which is expected as they shift from unique and premium and more into the mass market.
If their only technical advantage is battery tech, they're one innovation away from being second place.