With Microsoft losing almost a quarter of its value this year, investors have reset the company’s earnings multiple to the lowest since late 2022.