Disruptions such as tariffs, wars and energy crises have forced companies to rethink the ‘just in time’ model