Microsoft has sharply reduced its China footprint, but Azure and AI demand from Chinese companies operating abroad are giving it a reason to stay.