This tech giant lagged behind rivals in AI, but its huge user base could help it capitalize on this technology's growth.