Technology has been replacing jobs for hundreds of years and yet somehow everyone still has jobs.
Sure you need to be aware of advances that may impact you / your particular job but people can re-train or switch in that scenario if they've got a bit of a financial buffer or have been proactive about learning other skills etc.