Could Apple build a search engine that competes with Google?

The tech giant is poised to launch its rival engine soon.