Bulls pushed the US benchmark index back toward all-time highs after a strong week driven by AI earnings.