The scientists were inspired by the way natural organisms, such as octopuses, can stick to rocks with their suckers.