A sector that once rebelled against Beijing has grown into a critical tool for working around sanctions.