Palantir joined the S&P 500 in September. It's now the index's top performer in 2024, passing Nvidia and Vistra.