AI has propelled the two companies toward an exclusive club, but Microsoft’s path forward is more complicated.