The biggest S&P 500 winners and losers of 2024, led by AI names

AI made a lot of money this year, if you invested in the right players.