The robot, named “Lightning,” was crowned the winner of the country’s second annual mixed human-robot half-marathon.