Climate change is an existential threat, but AI might be our secret weapon against its most destructive impacts.