Palantir CEO Alex Karp says Silicon Valley's collaboration with the US government has waned — and that needs to change.