Researchers are teaching robots to walk on Mars from the sand of New Mexico