A robot which has the capacity to decide it will inflict pain on humans has been invented – breaking one of the standard rules for artificial intelligence. From Will Smith movie I, Robot, one of the laws of robotics is commonly considered to be that it cannot injure humans.