How is this morally different from e.g. weavers and loom operators being automated or ceramics or anything else? Or programmers?
We've been automating people "out of jobs" since at least the start of the industrial revolution. It's generally considered to be a goos thing.
We had a sort of weird special case for copyright preventing certain types of machine automation and I've heard plenty of complaints about how that worked, but it more or less did work for a while.