Every software company I've worked in building websites/webapps (Ruby, Python, Java, HTML/CSS/JS/React/whatever etc.) tends to issue their developers with MBPs. None of them need to do so for Xcode to build Mac/iOS apps. A few people may opt for Lenovos running Linux, but they're a distinct minority who really likes compiling their own tiling window manager from scratch etc.
Why MBP as standard? Because you get a reasonably stable Unix box that also runs commercial business and productivity software (Office, video conference stuff), and the Adobe suite for the front-end/creative folks.
Windows is going after that with WSL. Linux is going after that with, err, GNU/Freedom I guess?
Writing Python/Ruby/JavaScript/Java/Go/Elixir/whatever hot new shiny, in Atom or Vim or VSCode, is about as easy on Linux as it is on Mac (and it is getting better on Windows with WSL). But when you've got to use some awful video conferencing corporate crapware, there's at least some chance it'll work on a Mac in a way it won't on Linux.