A common criticism of Wall Street is that it is fixated on short-term results. Well, most recently Microsoft has been, errr, twice as profitable as Apple in absolute terms. But somehow Apple has overtaken MS in terms of market cap.
The reason generally given is that Apple has the better long-term prospects !
Things are always a bit more complex than they are painted ... long gold**, me.
** no financial advice here, of course