Google Scholar is extremely valuable to the academic community. I am afraid that Google will decide to scrap it someday, and we will be left with a number of inferior alternatives.
Google employs thousands of researchers who would be less productive (and upset) if they scrapped it. That alone is probably enough to make it worthwhile to keep it going, at least until a good alternative emerges.
Google employs a lot of academics that probably use it. And of course they have a few AI related products that are probably being trained on scientific content as well. I bet Google Scholar feeds data into that effort. My guess is that keeping google scholar up and running isn't breaking the bank for them and it is actually a valuable resource for them.
Given that they have killed products with millions of users, including a lot of paying users, relying on this is optimistic. Google doesn't seem to care about major inconvenience they cause, like with the Google Domains sale Squarespace.
Well, at least Google Scholar is aligned with Google's core business: search. It seems silly for Google to scrap search features. On the other hand, I'm not sure if Google Scholar is aligned with their real core business: ads.