Done by both hand and machine
Various machines are used to ensure professional quality:
Heavy Duty
Overlock/Serger
Cover Stitch