A local ordinance would ban the online retailer and similar businesses from using subcontractors for its deliveries.