A new book tracks the human fascination with octopuses across centuries.