Comparisons to the current administration are likely overblown, but are not entirely without merit. Comparisons could also be made to past administrations. The important thing is to consider how well the comparison matches, how problematic the features being compared are in each item, and how that works within context.
If those that cannot remember the past are doomed to repeat it, so too are those that refuse to consider the past.
I have, however, implied that "Helping the government do its job" has no bearing on the morality of your actions. What the job is does.
Either that or you're being deliberately obtuse and are trolling.
Palantir assists with quite a number of... Ethically controversial government activities.