At the heart of that question is fear of technology, one which science fiction writer Isaac Asimov had already attempted to pacify in his 1942 Three Laws of Robotics, the first of which is that a robot may not allow a human being to come to harm.
Source: CGTN.com