Humanoid robots have been deployed at intersections in the Chinese city of Hangzhou to assist traffic police and guide pedestrians.