Researchers have developed a new kind of robot that flies through the air, swims through the water, and transitions between the two realms.