Which corrupt leaders are going to give over their control to a machine?
You'd have to get rid of them first, but it might help the new lot stay straight?
If you have the power structure to get rid of a corrupt leader, you've already solved the problem. You don't need to install an AI.