The capabilities of AI has been rapidly improving without stop for roughly the past 30 years. However, AI as we know it still doesn't have anything that you could consider actual general intelligence. Anything you see an AI doing that seems like intelligence to you is just a parlor trick. It's akin to thinking that a book understands what's written in itself because it's capable of conveying it. There's no understanding, just following complex instruction lines.
But ultimately, as far as we understand, even the human mind is nothing but an extremely complex mechanical system following the laws of physics.
As AI as we know it becomes more capable and adaptable, it line between just a machine that can identify cat pictures and a machine that is the mental equal to any human in any task slowly blurs. At some point we'll awaken to find the AI which we thought could only do cute tricks like beat us at GO or figure out who you should send targeted advertisements to is suddenly as "smart" and capable as a human, or even much more so.
When will we cross this line? When will AI become as smart as humans and, very likely, swiftly surpass us to become super-intelligence that make humans look like drooling retards?
That answer to that question varies a lot when experts are asked, but a general consensus is that within 50 years, we'll probably have something as smart as a human.