Swathes of people facing losing jobs in 'dark side' of robot revolution