Microsoft, Meta and Amazon earnings could test the S&P 500 as investors watch AI spending, capex guidance and fears of slowing returns.