I guess robots that can kill people on their own "will" would be perceived by humans as having chaotic behavior , and wouldn't be of much use to us. So why build it?
Anyway I think robots or other devices can't have will either way. For example if someone plants land mine and years later this land mine kills someone. It is not land mine's will. But of person who planted it. You can't sue land mine.