I'm assuming you are remembering Cook's open letter on privacy http://www.apple.com/privacy/
"Our business model is very straightforward: We sell great products. We don’t build a profile based on your email content or web browsing habits to sell to advertisers."
This obviously is not saying Apple doesn't sell ads. It's saying their core business model is selling products. The users are not the product.