Humanoid robots faced off in Shanghai as they autonomously navigated the ring, read opponents’ movements and chose their responses in real time.