> There's no reason that machine couldn't make french fries with a few changes
That machine is, like, 5 machines including an oil moat. With all of them together it makes up something like half the entire store's footprint. It's only remotely viable because that shop mostly only makes one thing. No breakfast sandwiches in the morning, no burgers at lunch time, just donuts.
Plenty of employees are still required just to make the different types of donuts and donut-adjacent items (and also presumably to be there in case a monumental grease fire starts, or the dough machine blows a gasket starts spewing dough all over).
> Pizza making robots are already a thing
Presumably making the frozen ones sold at grocery stores, which might be a meaningful percentage of all pizza sold, but effectively 0% of any other pizzas?