And that is perhaps the greatest advantage of all that Tesla has over many other companies, especially in the car industry, but generally (excluding only Amazon and parts of Apple/Google): Tesla is not run by beancounters with a next-quarterly only mindset, but by someone with a long-term vision and a general engineering focus with deep pockets.
Not many companies these days go for extensive, ground-breaking, costly R&D that Tesla does, and those that do rarely go to the length of Tesla/SpaceX. For most companies that level of investment would flatten their stock value, shareholders would be angry... but Elon Musk (and similarly Jeff Bezos) are impressive personalities that manage to keep the beancounter hawks at bay.