Shanghai was Virgin Atlantic's final Chinese destination. The departure comes amid a broader retreat among some Western carriers from China.