The S&P 500 retreated from record highs on Friday, dragged down by losses in AI-related stocks like Dell and Nvidia, as investors analyzed inflation data reflecting the impact of tariffs. Alibaba's U.S. shares surged following a strong cloud computing report.