Investors who bought $1,000 worth of Palantir Technologies’s shares 5 years ago would now be looking at an investment worth $13,694.