The ongoing COVID-19 pandemic and Russia's escalating war in Ukraine have demonstrated how geopolitical shocks can upend the world economy.