Google is not 2 guys in a basement. Might have started like that but that is not what Google is now. Google is now an intelligence/surveillance agency with a business front. They know very much about most internet users. They know what you search, hence they know who you are, what you need, how you think. They have a huge user empire and they are free. That is what makes them big. Instead of trying to attack big companies like Microsoft using same business model, they made everything free and make the money from side services. They don't force you to buy a license to use the search engine like MS forces you to buy a license for its products. They make money from companies/advertisers which in turn make money using Google. It is win-win for all.
That being said, chances of you developing a better search engine than Google are slim to none. Even if you develop such a thing, they will buy you out and never ever make the search engine public. They already know how to offer better search. They already have better search algorithms than the ones the use in the public search engine. They just don't use them because if they would, they would shoot themselves in the foot by attacking their own business model. Google invested lots of money into research for quantum computers and a lot of other ultra cutting edge research. No matter how smart you are, without resources you can't even test or research much.
If you're that smart and driven why not find something really useful that doesn't exist and build that instead. If I have a spoon already and you give me a nicer spoon, i don't really care about you. I already had a spoon that I could use just fine to eat. But if you invent a fork, then I'm all game because I love stake. If you invent a dishwasher even better because I'm lazy, etc.
Also keep in mind that though 10 years of dedication to one specific outcome is great and you will become very skilled regardless of the final outcome, innovation does not guarantee success. As a matter of fact, innovating = failing over and over again until you happen to find something that actually works and not quitting until you find that thing.
If you do this for money there are much better business ideas.
Good luck!