I am almost inclined to believe this will bring more eminent ruin to humanity. Xi and Putin are both aging, but it will be likely that they both live long enough to us AI to significantly extend their power and create a more obedient people. Dictators get more paranoid as they age; I am afraid that the combination of this paranoia and their perceived increase in power will encourage them to wage global war.
That is only assuming the totalitarian leaders' interest is mostly aligned with people's interests, which is likely in the short term but a big IF in the long run. I worry that AGI create more obedient citizens because their decisions are almost unchallengeable, and the legitimacy borrowed from AGI will encourage the ruler to take bolder actions. For instance, China and Russia both have aging leaders that might serve until their death; we already know from history that old dictators tend to be more paranoid.