How do machines in PCB fab plants solder components?



I have noticed that boards with leads/dips made in fabrication plants are soldered almost to perfection.

What sort of machine is used to do this?
Can this be copied at home?
.