As it is a corporation in the business of providing value to its shareholders, I can understand why Google is trying to maximize its profit potential in these projects. However, I think it is really important to give visibility to these moves and for developers (particularly of open source projects) to understand that Google maintains these projects for its own benefit and not for the good of any perceived "community". Once again, this is the status-quo for for-profit businesses, so I am not exactly trying to criticize Google for this. That being said, I do think that Google's (increasingly tarnished) reputation as a champion of open source work is largely undeserved because of their tendency to pull stuff like this.
This whole episode is also an example of why it is important to pay attention to the licensing and availability of the whole tech stack for a project. If functionality relies on a central server (that cannot be easily replaced/self-hosted that should be a huge red flag for anyone contributing to the ecosystem. (Looking at you, Canonical, and your Snap Store shenanigans...)