Amazon tops $3 trillion and Microsoft surges as Wall Street sets aside AI spending fears, for now