Scientists believe programming AI for self-preservation could be the key to giving robots feelings