Humanoid robots raced alongside humans in a half-marathon in Beijing.