The disruptions of the past few years—pandemics, political instability, energy shocks—did more than expose the fragility of global supply chains.