Upcoming results from leading technology firms will test whether cloud growth can justify the scale of AI investment. Investors are looking for evidence that spending can translate into lasting returns.