In a relative sense, I would argue that Apple has pilfered an order of magnitude higher value from the community than they have given back. The only example of Apple's net-positive contributions seem to be CUPS and LLVM, both of which were cross-platform before Apple took control. Compared with how much networking and userland code they've taken it feels like a trillion-dollar pittance. Even Microsoft chips in more.