I will place a bet against Apple successfully launching their own general purpose Google competitor successfully before 2028.
Search is incredibly complex and expensive to build and run. Apple lacks the server side chops to build super low margin services (iirc they’re around double the cost of gdrive). Say, it’s 2-3 years for them to build out capacity, and another 1-2 years to get the software working well. That still would make it a mad dash.
That being said, I can see Apple building a special purpose alternative to Google, indexing a small subset of the web, which is curated - think what gets put on Apple News, or similar.