On the National Geographic website: "Dancing Robot to Preserve Japan's Folk Arts"
The robot, HRP-2, is programmed to replicate human dance steps and is being advertised as a way to preserve Japanese cultural dances. Here is a video of HRP-2 dancing alongside a human to the traditional folk dance Aizu-Bandaisan:
There are numerous scientists and engineers in Japan raised on comic books and robot animated characters, who are still fascinated with robots that look something like a human, and they keep trying to find some practical purpose for them. They need to keep looking. Non-humanoid specialty robots such as those used in manufacturing are an example of an invention meeting a need. Humanoid robots are the opposite - a "hobby" or perhaps fetish looking for a purpose. Every few months another story comes out in the Japanese press about a humanoid robot. None of them do anything of practical value. If there is a need to preserve such things as traditional dance steps, it would be much simpler to create a computer program that would play them on screen in 3D.
Besides, I'm betting there will be humans around to learn dances long after these machines are recycled and their software languages forgotten.