Automation and liability: an analysis in the context of socio-technical systems