On a call with investors earlier this week, Palantir Technologies CEO Alex Karp—fresh off a week of stock surges—was euphoric. “We’re doin’ it!” he yelled, arms spread wide.