Robot which can choose to harm humans sparks artificial intelligence debate A robot which has the capacity to decide it will inflict pain on humans has…