We are intelligent and we have machines that have some amount of artificial intelligence, and we apply that same word to it and us. In fact, we often talk about a computer "thinking" something. A computer "thinks" there's been a security breach and it does something. We have neural nets as a technique in artificial intelligence that are said to be modeled after how the human brain operates. In fact, we think of the computer in anything, say your car, as being the brain of the car. And so we use a lot of the equivalent terms to describe our brains and computers.
But I don't believe there's a single aspect of what a computer does that really corresponds to what the brain does. To me, they seem to have absolutely no overlap. It's just like, you can cook popcorn in the microwave and you can cook it on a stovetop, but microwaves and stovetops are very different things. So I think that this use of all of these terms that are related to intelligence comes about for two reasons, first, because they're convenient in that they are rough corollaries to what the thing does. But, second, I think it's fundamentally all just PR and marketing.