Asimov got there first, a short story where USR addressed the growing public opposition to robots by developing minimalist insect robots that had such a small set of functions that the Three Laws could be trimmed down considerably, allowing for smaller and cheaper robots. Can't remember the name, and can't track it down.