I know this sounds like the background of a dystopian sci-fi, but following that logic: why not eventually replace politicians with AI?
The biggest problem I see is the possibility of an enemy hacking the system, but we can create many measurements to deal with that. Also... Lobbying+corruption+etc already exists.
We can still have some human interference, like plebiscite or something similar.
Opinions/criticism to propositions/laws could still be allowed.
The priorities on the AI logic would be: respecting human rights, guaranteeing basic needs, avoiding conflict (but being able to defend the country), protecting the environment, and then just using the most efficient way to minimize crime rate, burocracy, car traffic, etc...
What if we used the power of bazinga to remove all the nasty politics from government?
Surely, a chatbot, by virtue of being technology, would be the perfect dispenser of impartial, unbiased decisions to serve the common good the best. Would pre-existing prejudices, inequalities and superstitions be baked into the model from start? Would it reinforce the class power of the class that set it up in the first place? Would it be inflexible and conservative in the face of a changing world? No, absolutely not. It has computers in it and math that people can't understand so it must be good!