I should have been more clear: Apple has and continues to ship GPLv2 software but not GPLv3, since one interpretation of that license is that by including GPLv3 code in macOS, they’d be required to make the source code to at least the
entire Darwin (the Unix layer underneath the GUI) operating system available, which is something they probably don’t want to do.
Which is why GNU’s core utilities don’t ship in macOS and why the outdated Bash 3.2 (GPLv2) still ships in the latest versions of macOS.
It’s also why ZSH, which uses a variation of the MIT license, is now the default shell when Bash was the default for many years.