In Midas World, The Servant of the People, by Frederik Pohl [1] robots gain voting rights and outnumber humans in elections.

Also, in the context of this thread there is a famous quote by Pohl: "Nothing is so good that somebody, somewhere, will not hate it" [2].

[1] https://en.wikipedia.org/wiki/Midas_World

[2] https://pit.begghilos2.net/Sayings/Laws-Other.html