Strong unions can lobby for protections just like Amazon can. Municipalities could be persuaded to e.g. outlaw non-union (err, "non-licensed") logistics providers from delivering within the city limits; where "licensed" logistics companies are required to work with only "licensed" fulfillment centers, and so forth. Suddenly there'd be these centers of demand that could only be met by union shops.