The engineer did all that stuff in the studio. Live, his tech did all that stuff.
Multi-tracking is exactly how you get a tight performance down on tape. Live, one-take recordings are much more raw and loose. Going back and redoing your tracks allows you to tighten things up, then layer on more parts and so on.
In simple terms. Studio magic.