I don't know about Microsoft, but I'm very clear that the "miracle" operated by Apple was exactly to perfect foreign supply chain at a time when Intel/Dell/HP and others were still heavily focused on the US. The quality of Apple products was already there since the beginning, but they had no way to compete with the PC market until they figured out Asian supply chains.