Massive buy could bolster Microsoft’s prospects in video game, and online ads.