AI stocks face an earnings test, with SpaceX and Meta due, as investors question massive spending and look for return on investments.