There is no underlying value. It is only how much other people are willing to exchange for it.
So stock marked is always meaningless except considering it is so large and consequanetial and so many people have access to it that it will be rational automagically. This is more of a belief that seems to be fairly correct than a rational line of thinking. This is similar to Democracy in a way
You seem to be operating on the assumption that stock values are just totally and completely random and the fact that Google is worth $4T is just as much of a possibility as Hertz Rental Car being worth $1.5B
If you disagree with the above framing, your reasoning will have to concede the existence of underlying value. Yes, obviously the price of a share is the result of the bid and the ask price in the order book. But those prices are based on something, they are not randomly generated. They are based on conceptions of value. The fact that companies with increasing free cash flow over long periods of time always see increasing share prices over time is not random coincidence.