Ok, but so is everyone involved with building the fulfillment centre, the sorting machines, the roads for delivery, the trucks, the railways...
If it sounds like I'm including a lot of jobs, it's because every non-service job in the history of the post-industrial revolution economy has revolved around making things more efficient. Software development is not some uniquely evil domain.
Web dev for e-commmerce displaced brick and mortar retail. Web dev for streaming displaced video rentals and audio sales.