That really isn't a like-like comparison. You are looking at just one product from Apple. In the Android and Windows world for each generation there are hundreds of thousands of hardware combinations from entry level to high end that are expected to run Windows. Also MS/Google cannot test their software with future un-released hardware. If anything, this should be a cakewalk for Apple - if they choose to. I don't know what special "tuning" is required that prevents Apple from supporting the hardware.
If that is indeed the real reason, its unfortunate that they cannot get an OS to run acceptably in 1GB of RAM. Especially when they have such a tiny amount of hardware variations to support.
Microsoft and Google both release their own hardware. AFAIK, Microsoft does a pretty fair job updating software for the Surface. The same cannot be said for Google and Pixel (Or for that matter, Nexus prior to Pixel).