Can't machines work a 7-day, 24-hour schedule? That said, humanoid robots strike me as a jack-of-all-trades tool, our environment is full of things that are optimized for human-sized and -shaped users, but if you can purpose-build your robot for a factory, it's going to be more efficient at a narrow set of tasks there.