They will find another job and/or go on unemployment.
"Robotics" (automation) has been around for years and will continue to improve manfacturing and other enterprise efficiencies. Jobs will be lost in the process. Just the way introduction of new technology has always done.
Had an aunt lost her job as a telephone switchboard operator when automated switching was installed. Robotics is here to stay so we will have to deal with the fallout as we have in the past when technologies have supplanted human labor.
Sympathies to those who lose their jobs but change is inevitable. Adapt and move on or be left behind.