I don’t mean to offend but I think you are confused on what stocks really are.
No, I fully understand what they are. For example, I understand that if you owned 51% of all issued stock for a given company, you'd actually have some say over how the company runs.
Stock is, nominally, ownership of the company. Nominally.
A dividend less stock DOES have REAL value.
I understand that it's SUPPOSED to. It's SUPPOSED to be worth roughly ($ value of company) / shares.
But that's not really what it's worth. What it's worth is what people will pay for it.
What you refer to as a popularity contest I would refer to as prudent investors trying to buy securities with the highest return.
And I could point out that the stock market was down (at one point) 1000 points today, in part because of a "glitch" in reporting.
I could also point out that during the crazy periods of volatility in 2008, the market was going up and down by 8% a day.
When the entire market goes up and down 8% in a day, you know what that tells me? It tells me that at some point, either at the start or at the end of the day, these "prudent investors" you refer to had incorrectly assessed the value of the ENTIRE MARKET by 8%.
Did these companies really change that much over the course of the day? No.
My point is that stock trading isn't ACTUALLY trading in ownership of companies. It's trading in popular opinion of what a company is worth.
Let's say you think a company is going to do well in the future, so you buy some stock. Let's further assume that the company does do well, grows, posts good earnings... But the popular media reporting happens to be down on that company's sector. Popular opinion is that there will be bad times in that sector. So the stock stays flat.
You bet the company would do well. You bought stock. It did well. You made no money.
So what are you REALLY making money off of?
What REALLY matters is if people will pay more for the stock now than when you bought it. That only relates to the performance of the company to the extent that potential buyers of the stock pay attention to the performance of the company.
Now, I'm not saying that a company's peformance has no impact on stock valuation. A lot of the time it does, and if you could reliably predict performance for companies, you'd do well in the market. What I'm saying, is that trading has become increasingly speculative, frivolous and baseless. This phenomenon peaked during the dotcom era, but it still goes on today. A dividend yielding stock, while still vulnerable to that sort of frivolity, is at least somewhat tied to a real business goal (earnings), making it marginally more grounded in fiscal reality.