From anti-immigration raids, Gaza kill lists and government contracts, US data firm Palantir has been under scrutiny.