AI is also the minmax algorithm for solving tic-tac-toe, and the ghosts that chase Pac-Man around. It’s a broad term. It doesn’t always have to mean “mindblowing super-intelligence that surpasses humans in every conceivable way”. So it makes mistakes - therefore it’s not “intelligent” in some way?
A lot of the latest thought in cognitive science couches human cognition in similar terms to pattern recognition - some of the latest theories are known as “predictive processing”, “embodied cognition”, and “4E cognition” if you want to look them up.