Yes, they purchased the source code when they hired the lead developer.
https://www.cups.org/blog/2007-07-11-cups-purchased-by-apple...
https://www.cups.org/blog/2007-07-11-cups-purchased-by-apple...
[0] https://www.cups.org/AppleContributorAgreement_2011-03-10.pd...