Both Alphabet and Palantir are riding a massive wave of artificial intelligence demand, but a closer look at the two reveals ...