Scientists are teaching robots how to hunt down prey