AI has gotten way better than anyone expected in the last 5 years or so. Progress in many of these areas like image recognition was super slow and challenging. And all of a sudden computers are approaching human level performance with a relatively general algorithm.
For decades robotics has been limited by AI tech. We didn't have the ability to do object recognition, control was really hard, teaching the robot to do things was nearly impossible, etc. Now those limitations are gone, and in the next 10 years it's likely there will be a huge explosion in robotics and automation.
Regardless of the success of current developments, in the long term AI is still inevitable. I have no doubt we will eventually figure it out.
I have no idea why people confuse long term predictions about something with short term ones. Someone saying "we will invent AI by the end of the century" is not saying that they it's definitely going to happen in 5 years and you should invest heavily now. Every time Bostrom and AI risk stuff comes up, there's a bunch of confused comments about how AI isn't that good currently, which misses the point entirely.