The war may weaken globalization as many firms will reassess geopolitical risks in the years to come.