If you ask me, the MS way is better than Apple when devices have keyboard + trackpad. iPad with Magic Keyboard are very limited in multitasking and dual monitor support is very limited. Also, Windows has the benefit of a large list of applications designed for keyboard + mouse. IMO, the Apple way is not a great UX as you said. I think iPads are better tablets compared to a Surface Pro device. But as soon as you attach a keyboard + mouse, Surface Pro is a better device.
"But as soon as you attach a keyboard + mouse, Surface Pro is a better device."
You might as well replace "device" in that sentence with the word "laptop"