The country found a home in the Middle East for its investments and growing markets for steel, electric vehicles and solar panels. Those are now at stake.