There is plenty of resemblance: the human brain streams data from input devices, transforms the data and produces outputs (in humans, mostly release of chemicals, muscle-flexing and tongue-flapping... oh wait, that's muscle-flexing too).
This is much more obvious in our much simpler-minded cousins, such as insects: turn on a gas lamp and watch those suckers fly straight towards their doom. Basically, they're little more than clever little automatons designed by nature.
If you are of the opinion that behaviors like this don't occur in the oh-so-complex-beyond-all-understanding humans, I remind you of the millions of Americans suffering from disease and early death because there's too much food around the place. Or maybe I'm ignorant and the reason for epidemic obesity shall eternally remain beyond comprehension, I don't know.