This is perhaps overly exculpatory, but its worth noting the the dot com boom was associated with a "new economy" that was somehow non-extractive, so when utopians were busily building out web stuff, we were told it was for "sharing."
And why didn't we know better?
1. Most of us had never heard of the "new economy" and didn't know it was already several years old and attached to Reaganomics.
2. Many of the places we worked had no discernable business model except "if people like us, the stock price goes up." Other revenue sources were old school and also actually having an income per share tended to make stonks go down.
3. We were paid enough that we were disincentivised from asking too many questions. And a lot of that compensation was in dot com stocks.
4. The idea of (imminent?) post-scarcity was so widely held that the phrase "dot communist" had some irony masking real earnestness.