given that by LLMs, people generally refer to the transformer architecture, it definitely wasn't how google always did search. they famously started out by using pagerank. now, back then this was definitely seen as AI, but what gets called ai by the general public has changed over the last couple of decades. now people use it almost exclusively to refer to deep learning models or even just llms.
so yes, in a strict sense google has always used ai for search. but when the general public says AI now, they usually mean llms specifically and using that to replace actually going to the source websites is new