Palantir stock has been one of the top performers of the AI wave for three years and counting.