I've posted factory tour videos in recent years and it's pretty clear that lenses in particular need a lot of human intervention. Grinding and polishing are "largely" automated, but conformity checks are done at a lot of stages, and that is still a judgement call. I think I have seen camera body manufacturing by Sigma -- search the forum for it. I don't think I've mentioned it, but I have done factory type work for automotive engine rebuilding. I've done head stripping, camshaft grinding, valve cleaning and re-grinding and cylinder re-boring, and more. There are "judgment calls" that have to be made all over the place. The camera stuff looks pretty straight forward, but I'll bet there are more "judgment calls" -- particularly in the early runs, than you might expect.
I just checked. I posted a link to a video showing Sigma FP camera body manufacturing some time ago. Again, it shows the smooth working of the factory. What I'm saying is that I'll bet things don't always go so smoothly, and there are probably still "judgement calls" involved.