US stocks end down as tech shares drop ahead of New Year

The information technology sector weighed on the S&P 500, as most tech and AI-linked stocks declined.