The Other Kind of Life by Shamus Young
I could say “gritty Issac Asimov” and you’d be most of the way there. Maybe I’ll say “Rivers of London” to get you some of the rest of way. But honestly what got me to keep reading this book was the architecture trivia. Rivergate isn’t even a real city, but its architectural history is fascinating.
Then, yeah, there’s robots killing people and a criminal (famous for a robot-related heist) has to figure out why. There’s a very good discussion of AI and automation, and the with just enough of the protagonist’s cynicism to through the author’s compassion into relief. There’s also surprising, sly humor, which I enjoyed. I look forward to reading Young’s next book.