That's an interesting comparison. Manned space travel never found much practical use and so never really went anywhere. Unmanned space travel found some extremely valuable use cases (reconnaissance, navigation, and communications being the obvious examples) and that trajectory has turned sharply upwards since the 60s, with the main constraint being the high cost of launches and the difficulty of bringing that cost down.
AI is overflowing with valuable use cases and the cost is already low enough for it to be extremely widespread.
What if the valuable use cases that get appreciable investment in are SAAS and ads, same as the last tech bubble, while the real world-changing pie-in-the-sky ideas get left in the wayside? There’s your analogy for lack of interest in space colonization.
I'd say it was the other way around. I love space travel and I'd love to see a Mars colony, but I have to admit that it would have pretty much zero practical impact on most people. The dot-com boom and everything that followed has done far more for ordinary people than even the most extreme dreams of space would have if they had been achieved.
AI is overflowing with valuable use cases and the cost is already low enough for it to be extremely widespread.