I used a MBP as a phd student and postdoc for scientific computing and at the time ~2010-2015 it was fantastic for that, all my peers thought so as well. At conferences/seminars, there would just be a sea of macbooks with a few linux machines scattered around.
That is definitely starting to change - not by choice, more like people are being squeezed out due to the increasingly restrictive nature of the OS.