Sure, it had its roots in KDE's KHTML and KJS, but WebKit was started as an internal Apple project, and without their efforts it's highly unlikely that KHTML/KJS would have ever developed into the dominant layout engine.
According to the guy who implemented FFmpeg's ALAC encoder, there are power benefits to ALAC over FLAC. ALAC was developed when iPods were struggling to get 8 hours of playback, so it doesn't seem unreasonable that Apple's engineers wanted to be able to match the codec to the hardware as efficiently as possible.
> Also related: http://www.apple.com/opensource/
Also related: http://www.microsoft.com/en-us/openness/default.aspx#project... and http://research.microsoft.com/en-us/