A diver captured the amazing moment a Moray eel tried to take on an octopus, before setting its sights on the diver himself.