The effects of machinery on wages