One snake's ability to shimmy up slippery sand dunes made it the perfect subject for a new study aimed at getting robots out of the lab and into the real world.