The discussion of Palantir in the NHS is not a question of whether "Palantir are good/bad for taking NHS work," it's actually "should the NHS contract out to (and share sensitive patient data with) a company with a reputation like Palantir?"
The first question makes no sense at all. The latter question, however, is an important one for democratic governments to tackle.