Apple has also contributed to GCC in various ways, what is to say that they didn't contribute some piece of code that they hold a patent on and thus could sue anyone that uses GCC?
They can't sue anyone that uses GCC because GCC is GPL-licensed and, by requiring Apple to give unrestricted redistribution rights, the GPL effectively shield downstream users.