Until humanity unites there is no 'we' who can do anything. We are currently too busy polarising, fighting and reinforcing poverty. If AGI ever arrives, it'll most likely be weaponised or used to make rich people richer.
If ASI runs out of control, we can only hope it'll be a nice god and doesn't immediately see humans are a disease and try to kill us off.
It's, at this point, hubris to assume AGI/ASI wants anything to do with us.
I am in the hopeful side. Maybe an ASI can quickly analyze our issues and interfere. ASI might spit out any plans to improve everyone's life but if the people in power ignore all of the advice because they'll no longer be in power, nothing will really change except now there's an ASI using huge amounts of electricity.
Considering how everything's going, I honestly think an ASI won't make anything worse happen than the current state of affairs.