Not so sure about Tesla having figures out automotive mass production. Cannot comment on the software side of things, but I donhave the impression that Tesla is ahead of more traditional car makers there.
They are also one of the very few manufacturers that maintain their cars and even do somewhat major UI upgrades for years after the original release.
I'd say as much as they mess up, they are on the forefront when it comes to car manufacturers