A robotics engineer at the Georgia Institute of Technology has developed an "ethical governor," which could be used to program military robots to act ethically when deciding when, and whom, to shoot or bomb.
http://news.cnet.com/8301-13639_3-10275345-42.html
Well then, isn't that good? Nobody wants to be shot unethically.