Hugging machine
From The Big Bang Theory Wiki
Leonard built himself a hugging machine when he was ten years old to compensate for the lack of affection he got from his mother.
He used a dress maker's mannequin, which he stuffed with an electric blanket to make it warm. He then built two radio controlled arms so that he could be hugged and patted at his back.