Both of these tech titans are riding the artificial intelligence wave, but one of them seems like a better long-term ...