Apple's higher market cap is not based significantly on their image and speculation.
It's based on their consistently enormous income generation.
Apple has $114 billion in operating income over the past four quarters. Alphabet is close to $75b by comparison; Microsoft is $83b; Meta is $29b. Amazon is a joke at $12b (which is increasingly being reflected in their very mediocre stock market performance; Amazon stock has nearly contracted on an inflation adjusted basis over five years).
For large corporations like Apple, Microsoft, Meta, Alphabet, etc., profit generation is overwhelmingly what matters. Apple has led the way on that for a long time now and it's reflected in their market cap.