Technology and communication stocks lead the bull market's gains, as AI-driven investment flows increasingly dominate the S&P 500.