I'm surprised to see you lump Google in with Palantir, of all companies. Google has been fighting back against government overreach since the beginning.
They were the first internet company to publish a transparency report, for example [1]. Now copied by all the big players.
I remember them fighting back over a decade ago against government requests for search data, when others simply complied. [2]
Hey, no fair! That's our panopticon, not yours!