A humanoid robot developed in China has transformed from a nimble dancer to performing kung fu moves with surprising precision and balance.