Apps have been shared across PC-DOS, MS-DOS, DR-DOS, and several Windows variants, exactly the same was as Android for the last 30 years.
Microsoft does license Windows to the same OEMs that are having fun with Android, which just like on Android are allowed to do a certain level of customisations.
Windows is not only what comes with a PC.
The only big difference is that AOSP costs zero dollars, euro, yen,.....