I did maintain a Linux laptop (Ubuntu) for all my personal and development usage, from 2003-2011. Based on my experience at that time, it is entirely incorrect to claim that the experience with device drivers (wifi, bluetooth) and sleep/suspend/hibernate is better on Linux. Those things basically never worked right, battery experience was terrible, and many times during that era I lost a day's work because something was broken early in the boot sequence, and I couldn't even start X Windows.
In 2011 I switched to macOS due to my job and I have never had to deal with any of that. Ever. Perhaps the Linux laptop experience has improved significantly since then though.
Furthermore, there was no hardware nearly as nice as Apple laptops on which to install linux. (Yeah, other than Apple laptops, but I felt like I didn't have the money to justify that).
However I of course agree with your points regarding Vagrant/Docker and shell scripting. It is a shame that MacOS could not be based on Linux.