GMAIL is still free because of the wealth of information it gives them. Being able to scrape emails for products, services, travel etc, all help Google sell more ads.
I also feel like this is not that much a matter of cash but mostly a matter of having to consider Legacy accounts each time they want to do anything over Google Workspace. It's just more trouble for nothing at all at the end.