Investors cheered positive earnings, economic data, and a high-profile AI partnership.