I purchased a Macbook about 2 years ago out of curiosity, as it seems a lot of developers prefer them. I'll admit the screen is beautiful, but so much of the developer niceties are simply the Mac taking advantage of POSIX interoperability. As WSL continues to grow, I could definitely see going back to a Windows machine.
Biggest benefit for me has been how simple it has made ssh on Windows. I got a nicer spec'd Surface Laptop 3 during my last hardware refresh and haven't missed Macbook at all.
I think he's referring to the SSH integration inside VS code so you can open up a remote folder as if it was a local one in the IDE
Macs are popular dev machines because they couple the above with a very polished and stable widely compatible OS. The broad market appeal with the advantages of Unix like terminal and file system and a package manager. The screen isn't even that great, I'd take the XPS screen over the Macbook's.
I think buying NPM and GitHub, and inducing Docker to add Windows support, got them more (in the long run) in this space than those two things.