If it's open source, it's not developed by apple......
But yes, truth be told, the KDE developers that worked on KHTML deserve a lot of credit.
I'll give Apple credit for Darwin though.
That said you should also not give too much credit to Apple. I think that Darwin was build on top of FOSS is merely because it was developed by NEXT, which was a startup and needed to save cost. The original MacOS was closed source after all.