Give it 5 - 10 years. Tesla will be a company that makes and maintains a charging station network and sells batteries to the other auto makers.
It's becoming increasingly obvious that they can't hack it in an automotive sales industry. Which is fine, frankly. I think battery manufacturing and charging network are pretty complimentary industries and provide a decent revenue stream into the future, License the charging tech to other automakers early and get some vendor lock-in going, and the company could be in it for the long haul.
They might even be able to keep making a couple EVs, to prove new charging or battery tech, much like how Google keeps making Pixel phones to essentially prove and market new Android features.