Lotsa Scifi stories about this very thing. People judged by AI, thought police, etc .Out on blue six . Sea of Rust is incredible. And my fav " Colossus- The Forbin project". A little off topic but an interesting take on robots, androids and computers