Teaching robots new skills is not always straight forward. In the future, robots will be able to learn by observing people. Take this UMD robot for instance. The Robot Visual Learner learns how to make a beverage by observing people. The robot is not just copying the action but understands its goal.
The robot relies on artificial reasoning, robot planning algorithms, and computer vision technology to do the job.