WASHINGTON—The pandemic has exposed the fragility of global supply chains and the shortage of computer chips is the latest incident that forced many automakers across the world to halt production. Western governments are learning hard lessons from these disruptions, pushing to create more resilient and diverse supply chains. The Biden administration has also pledged to take “immediate actions,” including potentially providing incentives for domestic production. The demand for consumer electronics went through the roof during the pandemic, leading to the shortage of computer chips. Automakers have been hit especially hard from this supply shock. General Motors and Ford have temporarily shuttered some of their plants in response. Building new semiconductor factories is an extremely complex and expensive process, which makes it difficult for chipmakers to scale new capacity rapidly. “COVID-19 pandemic dislocations disrupted the supply and demand patterns for many industries, and we’re starting to see the results of it,” …