CEO Alex Karp expressed surprise at the German military's stance on Palantir and made the case for Ukrainian defense technologies.