You mean like Gentoo (https://github.com/gentoo/gentoo) ? It's not that big either (around 700MB).
Some parts of Windows have split out into their own repos and CI build and test pipelines, but splitting is a process that takes people's time and has pros and cons, especially when changes in the main OS repo are needed to give the separated components a complete, coherent API surface.