Maybe Ponzi scheme is too loaded a term but both have the same failure mode. At some point people will wise up and demand some real returns. It might not collapse but it will stop growing and there will be a knock on effect as so much of it is taken on leverage.
Both Tesla and Amazon have never payed out a dividend even though they have had profitable quarters. Plenty other companies have never even had a profitable quarter. Yet the stock price keeps going up.