My favorite (fiction) book on this topic is Ray Nayler's Where The Axe Is Buried. The premise is that most western democracies have voted to "rationalize", which means installing an AI Prime Minister tuned specifically for their country's culture and economic interests.