Palantir Technologies stock has risen exponentially over the last few years thanks to soaring demand for its AI software.