I think the difference is that Palantir is significantly more focused on federal contracts, particularly those related to defense/surveillance.
Google got their first DoD contract in 2003 from DARPA.
There doesn’t exist a serious technology company ever in the history of technology that didn’t support the state they incorporated in.