Palantir (PLTR) shares soared 18% in pre-market trading after the company reported fourth-quarter revenue that surpassed Wall Street's expectation amid growing demand for its AI platforms.