Thinking that it can never happen again is just wearing blinders
The primary advantage to vertical integration is when you need something but the market for suppliers is broken somehow, e.g. there isn't enough competition and then the suppliers behave like Comcast or Qualcomm. In that case entering the market yourself can be an advantage if you have the resources to do it, because you can cut out the crummy suppliers.
The risk of this is that you become the crummy supplier. The internal supplier has a captive customer because they're the same company, which means they're not exposed to competitive pressure. Corporate politics takes root, internal processes become wasteful and inefficient, but there is pressure to use the internal solution even if a third party offers something better. Internal systems become so integrated with each other that you can't switch to a competing supplier even when you should. One part of the company isn't allowed to improve their product in a way that cannibalizes the margins of another business unit, when non-vertically integrated competitors have no such constraints.
Basically it works well in the early years but then the lumbering dinosaur goes extinct at the next meteor because it loses the ability to adapt.
The secret is to enter the other market but then spin off the internal subdivision before the whole company becomes a festering bureaucracy. Or create an internal preference for the smallest suppliers in the other market to help them gain a foothold and increase their competitiveness, or provide them with startup capital or publish open source software that makes it easier for startups to enter that market etc. Commoditize Your Complement.
Ford at one time owned coal and iron mines.
(Hint: You cannot.)
They had very little capital, and they knew that they couldn't sell cars without a charging network. So they put all their efforts into reusing as much as they could from their high volume cars to improve economies of scale.
Noone else had the same incentives. That part is changing fast, though.
Tesla also benefits from horizontal integration, sharing a common charger module between vehicle and Supercharger. This improves scale and cost.
These mega companies that are contractors all the way down are like microservices - useful for some situations but probably not yours.