For example, some tech and semiconductor companies, because the whole world benefits from better compute (research for vaccines can be done faster; imaging for medical equipment results in better diagnostics; cars, engines and batteries can be simulated better and made safer and more efficient etc.) The whole world benefits.
"Investing" in crypto on the other hand, added zero value to society, or actually added negative value through the environmental damage being done.
That's not really what is at question here though. It's the concept of a pyramid scheme. The reason the stock market over long periods of time generally trends upwards is because new money keeps being added to it. It's as much of a pyramid as crypto is. That's just how the whole economy is though. Every generation so far has had more people than the last. It will be rather devastating to the stock market and economy whenever that stops being true.
All the money "made" from crypto was at the expense of other players(I refuse to call them "investors") who were left holding the bags, or at the expense of the environment (most of the large scale mining operations was done in areas of the world with cheap and dirty energy like China, Russia, Iran, etc.)