Some components, particularly transformers, might also be constructed by hand for custom/complex structures. That's component assembly rather than board assembly, but it's a consistent source of manual labor involvement in the supply chain.
Design for manufacturability is one of the important goals being considered in any PCB design. High-volume or low-cost boards will optimize for automated assembly and find ways to substitute or eliminate components with higher assembly costs. Extremely high-volume boards like in smartphones can justify custom tooling if it helps automate assembly.
The integration of lcsc is incredible.. let's see how they beat this in practice
Some components have large amounts of mass and need to be manually placed because the PNP doesn't have the vertical space for pickup and movement to the pad or do not have feeders which can successfully hold onto the part.
And some times it's just faster to have the human place the part because they're faster than the machine due to physical limitations (like needing to move slowly so as to not drop the component or throw it at the end of travel.) Many board shops will have the PNP places the ICs/Caps/Resistors/diodes and then the placement of connectors (especially zierich) or inductors gets done manually. That is how it worked where I worked. This also provided an opportunity mid-process to do quality checks instead of just letting things go from the PNP straight into the oven.
Through hole can be automated, but it doesn't really make sense until you have pretty good volume. So that leaves it still mostly to hand.
Then there are also all the unique customizations, like non-standard mounting specs or running jumper wires.
Manufacturing at small to medium scales is so heavily determined by small blockers/latencies. Missing some component, or need a modified PCB? In the US or Europe you'd be happy to find a replacement within a week, or more likely have to wait a month for it to come from China. In Shenzhen you can probably walk 2km and pick it up yourself in under an hour.
I mean VLSI (chip design) DFM is automated and that's a much harder problem.
I think the availability of cheap humans in China kinda nerfed the drive to automate this (for comparison you can't hand-DFM a chip even if every human on earth worked on it), but it still needs to happen.
JLCPCB is so cheap because everything is standardized and automated. Their tooling analyzes your input, gives a big fat warning if it spots something it knows it can't manufacture, and renders their processing output for final approval by you. Chinese labor might be cheaper than Western labor, but it is not even remotely cheap enough to babysit every hobbyist's one-off board.
They also assume you know what you are doing. You order a board with a part rotated 180 degrees? Well, it physically fits, so they will make it like that. The final board not working as you intended is a you-problem. You put a via inside a pad and it wicks away all the solder? Not their problem. You forgot to re-render the area fills and short ground to power? Not their problem.