You don‘t know much about stock markets and AI, do you? Nvidia is $2 trillion dollar now, but is it the leading company in AI hardware and is doomed to break the $3 trillion dollar barrier.
https://www.cnbc.com/2023/02/23/nvidias-a100-is-the-10000-chip-powering-the-race-for-ai-.html
In contrast Apples $3 trillion are based on the iPhone*. This won’t last for another decade. But without the iPhone, Apple is bust. Imagine Apple doesn’t manage to integrate AI, the iPhone would be dead tomorrow and the Apple stock would collapse.
Maybe Apple wouldn’t be worth as much as you said today, but it would be sustainable and last for the next 50 years at last.
*) E.g. Apple is only capable to build its own A series silicon, cause the iPhone made enough money and sells enough units. And now even the Macs depend on those chips. No iPhone -> No A series chips -> No Macs with A silicon.