It's seen as an unexpected loophole in the books. Similar to how a surgeon won't kill one healthy person to save two with their organs.
At least on I,Robot
Edit: also, on I,Robot they harmed very specific people with very calculated results. Not like going to war, even on the defensive side.