Building and then maintaining that software, year after year, without slowing to a crawl because of all the tech debt that's piled on (especially so since you have subpar engineers or you're contracting out to cheap workers abroad), is even harder.
And if you want to provide a user experience comparable to what the top software companies in the world are capable of, that's just not gonna happen at these car companies.
Tesla was born from the software industry, that's why they're the only ones that can compete.