I don't think thiel and palantir would have lost that much if Clinton won. If the bulk of palantir revenue comes from DoD and intelligence community (IC) contracts, he cares about whoever will increase the DoD budget in general. No matter whether it is Bush or Trump or Reagan, a republican president almost always increases defense and IC spending and green lights new toys for them to play with. Defense contractors who don't care about Democrat or republican ideology simply care about their bottom line.