I have a scenario where, thousands of years ago, an alien AI is imprisoned in a human body in place of a traditional AI box to limit its mental capacities (it's being punished and not expected to do anything). It wants to escape so it can reclaim its former intelligence, which is being stored in a massive supercomputer built into the moon, but getting to it is a lot harder than just waiting for information technology to develop and beaming themselves up to it. Accessing its old body requires getting past a series of firewalls, passwords and other security measures they could only have solved with their former intelligence.
So instead, they decide to harness the power of the human mind during the age of transhumanism, instigating a plot to connect billions of human minds into a giant neural network that will have just enough processing power and intelligence to crack the security on their old body.
Would this be a sensible course of action for the alien AI to take if it was both malevolent and impatient, or would have singular computers long since surpassed the processing power of the entire human population by the time this future of transhumanism and neural networks becomes a reality? Basically, would they have any reason to use human brains as a replacement instead of machines besides just being a dick?