Japan has begun using humanoid robots to repair railways.