MoD sources warn Palantir role at heart of government is threat to UK security