Scientists teach this human-like robot how to hug

German-built robot gives hugs to provide emotional support for people