Have they ever made XP or earlier open source?..................
Nope, and I don't expect them to.
Going all the way back to MS-DOS, Microsoft DID open-source some very early versions of MS-DOS. They're largely useless except for techno-historical study.