It's also not true, Apple is paying dividends and still valued as a technology company (and both Google and Apple clearly are in tech, dividends or not).
As Marc Andreessen memorably put it, Apple is valued "like a steel mill going out of business", with a PE massively lower than Google, Microsoft, Facebook, etc.