I'm not sure if Tesla is a great example here, considering they also suffer quality control issues, at least in their US manufacturing. The amount of panel gap issues and fitment problems I've witnessed with Teslas have been more than I care to admit.
Being truly vertically integrated is no guarantee for quality in my experience.