My girlfriend is an Orthopaedic Surgeon. Great when I've got a broken arm, or need shelves putting up. I wouldn't let her anywhere near my heart or brain. Medicine is super specialised.
I hear you on geography though. Luckily the human body doesn't change too much between locations.
I think the point was that an orthopaedic surgeon can change hospitals and immediately get to work doing orthopaedic surgery. Sure, there might be some difference in how to clock in or who to report to, but they aren't suddenly working with a different type of human. Their job will remain constant despite changing environs, whereas moving between software companies could have you learning entirely different stacks that affect your process in fundamental ways.
I hear you on geography though. Luckily the human body doesn't change too much between locations.