If Google were to stop attending, they risk newer generations of engineers shifting their perspective on Google, especially these days when most portrayals of Google in the media are negative.
The point of Google attending these events isn't for recruiting. It's to advertise their brand to job seekers. Seeing a bunch of candidates flocking to the Google recruiters triggers FOMO is candidates who might not have been as enthusiastic