Tesla architecture might be a mess (very likely), but I bet a lot of money that among car companies that make billions in revenue their architecture is not that messy in comparison. If you consider the horror stories you hear from other car companies and their attempts at software.