A non-profit that owns a for-profit company is very well not realy non-profit.
All of the profit of the subsidiary goes to the nonprofit parent, in furtherance of its nonprofit mission. The subsidiary doesn't exist to make anybody rich but just to earn (taxable) income for the parent.
Apple got into search years ago, though. If you search in Safari, Apple will provide a single top result (if it has one) above your selected search engine results. Search for a famous person from history and you'll most likely get a Wikipedia link at the top with the picture and small excerpt. This is powered by Apple's own search engine. It's not limited to Wikipedia either but is powered by their Applebot web crawler. If you want to be able to see more than one result, you can use the Spotlight search by swiping down on the home screen. Depending on your search term you'll have a Websites section with multiple results from their search engine.
What Apple doesn't offer is a web page for you to access their search engine. Even without it, though, many millions of people have been using Apple's search engine for years now, clicking on the results usually without even realizing that's where it came from.