Alex Karp is CEO of Palantir Technologies, whose data analysis has helped fight terrorism. Here’s how he went from broke ...