Shares of Microsoft and Alphabet extended losses Wednesday morning after the technology giants slashed earnings forecasts for the rest of this year as a result of the increasingly murky economic outlook—signaling upcoming earnings from giants like Meta and Twitter may also disappoint investors.