Isaac Asimov was a famous science fiction author and futurist, as well as a scientist in his own right. In 1942, he proposed that robots be governed by three laws fixed into their programming:
1. A robot may not injure a human being or, through inaction, allow a human being to come to harm
2. A robot must obey orders given it by human beings except where such orders would conflict with the First Law.
3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.
HBO is currently considering producing a film adaptation of Asimov's seminal Foundation series. When it does, it is essential that the writers greatly alter the plot for no apparent purpose. For example, Hari Seldon should become a moody teenager who wants to start a band. This will be in keeping with the Three Laws of Rebootics, developed by Julia Lepetit and Andrew Bridgman of Dorkly. You can read the other two here.