Capitalism only encourages economies of scale to a low level. Apple switched from PowerPC to Intel and even at minority market saturation switch to in-house vertical CPU. Mobile of course made a huge impact but wasn't a market leader globally.
And once being tied to a vendor there's no real incentive for right to repair etc.