The Palantir CEO, accused by the left of opportunism and the right of building a surveillance state, opens up.