Artificial Intelligence and Innovation to Reduce the Impact of Extreme Weather Events on Sustainable Production