High-flying American software giant Palantir (NASDAQ: PLTR) has just wrapped up its worst week since February.