All complex systems are modular and hierarchical -- by necessity. So when two complex systems are both modular and hierarchical (say, the brain and a neural network), that doesn't mean they're similar to each other. It just means they're both complex systems.