Are you being sarcastic? Even if “Google is struggling so badly” (which it really is not - the narrative will flip again at some point), these efforts will have a lasting impact on the world. Not everything good is about bringing in revenue.
If you think AI will win but Google will continue failing, there so many better places to allocate your capital right now.