Tesla & spaceX developers are held to a much lower standard - they can write crap code and the market position of the hardware will make up for it.* Pure software products are in a world of pure competition and there is less room for colossal blunders.
* If you don't like Tesla software what are you going to do, install Microsoft's? If you're an astronaut on a spacex flight, what are you going to do?