Apple is definitely not immune to stupid things. They've done a lot of stupid things.
Apple have also made tons of mistakes when it comes to security and privacy.
But I still have a hard time seeing Apple ever intentionally adding a feature that proxies all a user's encrypted connections to inspect the content and insert ads.
Tim Cook's recent speech at the Cybersecurity summit sounded pretty earnest to me https://www.youtube.com/watch?v=QI6DvV2muDE