Tim Cook and Donald Trump don't seem like natural allies, at all. But Cook unlocked Trump fairly early in his first term. There's a secret to how.