Sure but the big faang stocks literally print more money than every other company (idk maybe aramco or berkshire can compete, but nothing else). So something's working there.
Casinos print money too and farms don't. The amount of cash a business throws off is only somewhat related to how much work it requires and how useful it is.