I know (and said in another comment) that Apple forked webkit from khtml. They also took it much further, very fast. Konqueror with khtml was just about usable, and yes I used kde at that time. I don't see a reason to doubt that the company that developed OS X and all its bundled apps could have written a browser from scratch. (Yes, I know the non-GUI core of OS X is open source too - and I used FreeBSD at the time.) Google picked up webkit much later, and seems to have focused on javascript since (which is not shared with safari) - I don't know whether they have a significant contribution to webkit itself.