All we needed was for vendors to ship development tools with the OS. Nobody ever did that. Apple could include Xcode on every Mac, but they don't. macOS and Windows... neither of them come with a code editor.
The benefits are obvious. The downsides (disk space?) are not. Why didn't anyone ever do this?
EDIT: Nevermind. Xcode used to ship on the MacOS discs.