Bureaucracy in itself is not evil, evil is its attendant problems: red tape, dilution of responsibility, the same corruption. It is impossible to completely solve the problem of corruption and other problems, but it is possible to significantly relieve the people involved in the processes and reduce the possibility for corruption. For example, AI can already be instructed to enroll a child in kindergarten, undergo a technical inspection, control the quality of roads, etc. Actually, cameras on the roads that write out speeding tickets are one example of such a substitution. I think pretty soon we will see the emergence of smart technologies in many sectors of public services.
How will robots know what to do for sure? who will put the logic in them? Who can describe it in principle? We have written huge codes of laws, and we amend them every year because they do not keep pace with reality. Life is so multifaceted that unforeseen situations and judicial precedents constantly arise. There is, of course, the concept of "the law is harsh, but such is the law", but you will not like these times at all, human history has already passed this. If you are supposed to cut off your hands for theft - will the child who pulled the plum off the counter also cut it off? How will we, for example, measure the limit of necessary self-defense? As humans, we are not able to solve ethical issues, society is constantly shaking, let alone prescribing it for robots.
No. Robots cannot improvise, which is necessary in power, since they have no intelligence. And if they did, then what would they be better than the current ruling powers?
The problem of bureaucracy, most likely, can be solved.
But corruption is unlikely. Because these machines will be ordered and controlled by the same powers that be. And they, of course, are not fools - to act to their detriment!