When automation and artificial intelligence are transforming economies, the Nobel laureates’ work offers caution and hope.