US Tech Giant Secures Historic Deal with Beijing Amid Shift in Trade Policy