While it seems plausible that machines would indeed replace humans in the future, why not view it as a partner? It can pick up where humans cannot. For example, what if not all employees showed up for a shift or have left early during said shift? This robot could help maintain a steady pace of keeping the rate from looking bad or in general help clear work for the next shift depending on how many robots are on each floor if there were any. These could help where employees cannot.
That'd actually be maximum efficiency. Ideally you'd want machines to still have human supervision and training or go through a human filter.
Humans using this kind of tech to boost their productivity while the tech uses humans to make sure the job is getting done to standard.
Basically you don't want to leave something 100% to automation because there's a chance it'll correctly repeat the wrong task and you don't want that.
That's really the ideal condition every place should be aiming for.
Machine moving a whole bunch of items automatically = great.
Machine moving a whole bunch of items automatically to the wrong location the entire night = bad.
Machine writing code that works = great.
Machine writing code that works but introducing complicated bugs/side-effects = bad.
At this point AI/machines still need good professionals to guide them.
Humans basically need to make sure machines are not generating any costly overhead while seeing if they can keep updating their efficiency with training.