All factories with human workers are optimised for human movement as much as possible (5s etc). It benefits the factory.
It should be pretty obvious why a humanoid robot that can do anything a human can do, could be easy to implement in these factories.
Although I would think it easier to just redesign the factory to operate without humans, than to design a humanoid robot to replace the humans.