I do see what you're saying, but I don't think that quality of work and caring about oneself only are mutually exclusive.
You can care about the quality of your work without really caring about the fate of a particular company. Employees with great output are in high demand, so you know that you can just continue somewhere else.
I happen to care about the quality of my work and the company, but even then, the company's future (unless I own it) comes way below my own needs (thinking of my family here in particular).
I don't think it's possible to make a significant portion of your workforce altruistically care about the company. Hence, the original commenter's suggestion is that managers are responsible for correctly incentivizing workers.
If I put the company and then the team first, and the team and company think the same way, who is there to look out for me?
Only a sociopath, and a stupid one, would put their company ahead of their family. And there aren't that many sociopaths in society.
Loyalty must be earned, and most companies have earned not loyalty, but resentment and deep distrust.
(I have been lucky that I have mostly avoided such companies, because I have a fairly rare talent, but not entirely. Oh, boy.)