This time around, the technology is seeing real applications today, so the valuations are more grounded in reality. So while people are definitely investing based on the future potential, the worst case scenario -- that we're going to hit a wall next week where no further progress can be made in machine learning research -- wouldn't be as devastating as the last AI winter.
At this point there's a lot of work to do, and money to be made, applying the current state of the art even if no further progress can be made.
It took decades before people figured out Aluminum was actually useful for things for example. It was a chemical curiosity for the later-half of the 1800s (hmm, this is a cheap metal that is found everywhere. But its weaker than steel, what should we use it for?)
Just because you discover something useful doesn't mean you figure out what to do with it.
Napoleon III had his fancy-dinner utensils made from aluminum, for those occasions when gold did not seem lavish enough. And then cheap manufacturing was invented, and the rest is history.