the dotcom bubble (and the current AI bubble) were based on excessively optimistic bets, by people who know/knew NOTHING about those technologies. It was exuberance by greedy wall street players and laymen looking to make a buck.
Why wouldnt the tech CEO take the billions of dollars thrown at them if they had the chance?
This exact scenario happened with the dotcom bubble. Inarguably Internet services drastically changed everyone's daily lives, yet the buildup of Internet infrastructure was based on excessively optimistic predictions, leading to a bubble.