A robot that can quickly adapt its movement could take on dangerous tasks first.