It’s more akin to an arms manufacturer knowingly supplying a genocidal regime.
As for targeting Palantir instead, boycott, divestment, and sanctions is most effective when it targets all the complicit players.