Scientists have created a four-winged robot that flies through the air identically to how a jellyfish swims in the water.