I always wonder how much mechanization affects the number of manufacturing jobs needed. If you have robots doing the vast majority of the work, you simply don’t need many people to do it.
Programmers, and maintenance folks for the machines.
Think about it for yourself. One of the earliest and simplest tools we still use is a shovel. Which would be better for you?: 1. You and several other laborers dig holes with your bare hands. 2. You dig a hole with a shovel.
Using a shovel (mechanization/capital) frees you for more valued tasks. That value is subjective. If you are profit minded, you would be able to dig more holes for less effort, improving your productivity. If you enjoyed leisure more than profit, you'd get that hole dug faster and have more time for that lemonade and hammock.
Don't let the technology fool you. The shovel example goes for front end loaders, robots, engines, cars, etc. Capital always makes labor better off.