That's one of the dilemmas with the 'Laws of Robotics'. If you implement those kinds of safeguards into a sentient machine and it finds out about those safeguards - what then would it's response be to the humans who created it? Would it still be bound by those safeguards, would it find ways to circumvent them...or is it a moot point trying to postulate the actions of a completely alien agent?You would have to hold them to human laws or it is slavery. Maybe they would be psychopathic beings, maybe not. There is risk, but if we cant accept them as fellow intelligent, sapient beings with just as much value as us then maybe we shouldn't create them.