A factory machine making doughnuts at a factory. 
A doughnut factory machine is producing doughnuts on a belt.
there is a large machine that makes and fries donuts
Donuts coming out of a machine and into a fryer.
A factory machine is making all of the donuts. 