Kenji, a third-generation humanoid robot, was originally programmed to emulate the human emotion of love, but ended up emulating dependence and fear of abandonment instead.
"After some limited environmental conditioning, Kenji first demonstrated love by bonding with a a stuffed doll in his enclosure, which he would embrace for hours at a time... Researchers attributed this behavior to his programmed qualities of devotion and empathy and called the experiment a success....
"The trouble all started when a young female intern began to spend several hours each day with Kenji, testing his systems and loading new software routines. When it came time to leave one evening, however, Kenji refused to let her out of his lab enclosure and used his bulky mechanical body to block her exit and hug her repeatedly."
Nope, looks like Kenji wasn't displaying devotion and empathy at all.
Interestingly, his behavior is surprisingly similar to the first steps of social-emotional development in babies. At around 8-10 months, babies begin to show signs of human attachment, mostly in the form of separation anxiety, and only later do they acquire the capacity of empathy and an understanding of social rules.
So maybe Kenji just needs to grow up?
The story gets funnier:
"The intern was only able to escape after she had frantically phoned two senior staff members to come and temporarily de-activate Kenji."
Would have loved to see that. You can read more about Kenji here.