I liked Daemon by Daniel Suarez, I read it many years ago but it’s more relevant now than ever (the story is about a rogue AI).
Daemon isn’t about a rogue AI in the sense it was designed that way. Also you need to read the sequel “Freedom” to really get the true sci-fi philosophical message.
I personally enjoyed the sequel Freedom because it really explores the idea of a crypto-DAO like society that embraces human nature to build a more sustainable and fair society. It was ahead of its time as I don’t think DAO’s had been created yet.
Suarez’s later books also build on the themes in interesting ways.