Humanoid robots are moving from science fiction into the production line, and one of China’s biggest electronics makers is betting its factories on that shift. Xiaomi’s chief executive is telling ...