I don't understand the Windows hate. It sucked donkey balls on version 8, but it got better with 8.1 and is extremely nice to use with Windows 10. With a few exceptions of exclusive programs I find the two operating systems to be fairly equal. I'll even give Windows a nod for implementing touch screens and inking. Not important for a desktop, but I use touch frequently on my Surface Pro 4 and the caseworkers at my job use it on their laptops to get client signatures.
Apple does need to be concerned about phones like the Mi Mix 2. Hardware wise it is extremely competitive with the iPhone X at half the price. What is holding it back is the Android OS which suffers from the same issues Windows does in that it needs to run on thousands of different hardware configurations and as a result is not as optimized as iOS. Apple could find itself in serious trouble if a company hired competent software engineers to completely optimize the code for their specific device. Get all the advertising and data collection code out of the OS, develop integrated drivers for the specific components (camera, audio, etc.) and it would run a whole lot better. Software scales; once you've got it working once you can put it on millions of devices without any significant additional cost. I'm surprised Samsung hasn't gotten it right yet.