Is automation beneficial for society as a whole? What we can learn re-reading Ricardo and Marx on machinery and labour