While neurotic robots are a staple of science fiction — just think of C-3PO in Star Wars or Marvin in the Hitchhiker's Guide to the Galaxy — they haven't really been a focus of research into how ...