What is socioeconomic impact of automation in the workplace, and the responsibility of organizations to its workers when automation takes place?

What is socioeconomic impact of automation in the workplace, and the responsibility of organizations to its workers when automation takes place?