Data analytics company Palantir is a major US defense contractor. Its shares were up 65% this year before Wednesday.