Amazon opposes a proposed New York delivery bill that mandates direct hiring of delivery and warehouse workers.