In brief, on net balance machines, technological improvements, automation, economies and efficiency do not throw men out of work.
Machine save production cost, then more profit for the maker. The maker will buy more mchine to sve more cost which in turn increase the worker needed to make or to run the machine.
in other scenario, the product will be cheaper due to the machine which helps buyer save money to spend in something else. Indirectly incrdease the employment rate in other production line