Both tech companies are compelling AI investments.