Octopus can appear extremely intelligent, as a result of their intelligence being quite specific. They are superb problem solvers (and are capable of watching other octopus and learning through this), very capable escape artists (in an aquarium, an octopus was shown leaving its tank, and entering the neighbouring tank to catch fish at night) and have a phenomenal ability to change their body colour and texture to match the background.
Their brain setup, is completely different to mammals similar to humans, as their brain is spread through their body.
It should be noted, that an octopus can grow at 5% a day, which means that they are a very efficient way to create meat. Still, I would be very hesitant to eat them regularly (and obviously, any octopus that you might consume must come from populations that are being harvested in sustainable ways).
I would argue that farming highly intelligent octopus for food may not be great, but is much better than hunting wild octopus for food.
What do you think?