If Google stock were really worthless, someone could buy all of it for pennies and do whatever they want with the company. Owning and controlling a company with $80B yearly profits isn’t worth anything to you?
A single Google share isn’t really worth anything on its own. But its value is tied to the collective value of _all_ Google shares, which _are_ worth something.