CoreWeave reported strong earnings, easing investor concerns about spending on AI infrastructure and boosting stock prices. Both the S&P 500 and Nasdaq witnessed gains following these positive results in the tech sector.