Beyond the short-term pain, the conflict has thrown up opportunities for Singapore on food security and energy resilience.