Its dual dependence on America’s digital services and Beijing’s critical mineral processing industry leaves it highly vulnerable