There is a whole side of sci-fi that has explored the idea that AI government could finally cure us so much more than just one class of corruption. There are, however, new downsides.
"Can" and "will be used by the people in power to" are two different things. and "Can in a way that would work" is a whole nother thing.