So went the horses and carts
Innovation regularly makes whole industries redundant. That's a fact of life.
People in those industries can have trouble adapting. We may be able to help some of them.
For all the rest: This is why we need a good social security system.
The one mistake we should not commit is to refrain from innovating in order to protect existing industries.