Microsoft and other brands are getting better at making quality hardware faster than Apple is innovating in the space.
Apple still has the lead in their os just feeling so much nicer and solid to use but again it's still stagnant while windows is slowly evolving and when it comes down to it you can't even build a mac with the power you're working with on the Windows side so it stops really being an option if one means your work can be done multiple times faster (GPGPU workloads for example) than on the Mac side.