> sentient robots to watch criminals, removing the need for incarceration
These are slap drones [1] from Banks’s The Player of Games [2].
[1] https://theculture.fandom.com/wiki/Slap-drone
[1] https://en.wikipedia.org/wiki/The_Player_of_Games