Effects of technological change and automation on industry structure and (wage-)inequality: insights from a dynamic task-based model