Palantir Technologies posts a surprise fourth-quarter loss but says it expects sales for the first quarter and full year of 2021 to come in strong.