Apple is surely free to make their own search engine, and to an extent, they do - in Safari, the "suggested sites" feature is a search engine but one that only returns {single result | no result} and only works on iOS/Safari. On that same note, you can prove this by tracking search engine user agents for your website to look for Applebot/0.1 hits (if your site is popular enough).
it’s limited to popular queries, so for many searches you may get ‘no results, search the web (google)’.
i made a bit buggy web front end for siri search so i could better play around with the results https://luke.lol/search/
On the other hand you can see how Google is using its dominance in Search to push its browser and mobile OS - once you login to Google in Chrome on your phone, suddenly they can track you when you use their mobile Apps etc. And Apple is trying hard to grow in the "Services" field, i.e. through Apple Music and Apple TV - both available to Windows and Android users too. Just as they made a buttload of money with iTunes and the iPod because they also targeted Windows users.
As another commenter here said "Google does not make money by helping you find what you are searching, it makes money by keeping you searching". That only works when there is no competition. But once Apple would be in the game, people would use what presents them with the better results. Right now, I don't feel there is real competition.