Big Data firm Palantir was the best performing large-company U.S. stock of 2024, returning 340.5% on the year.