Building value-chain resilience with AI