I think fromis are profitable as they do festivals. Even if they are not profitable seventeen could easily cover any losses. They are selling double the number of albums that gfriend were selling.
Gfriend wasn't profitable in its last couple of years, mainly because of covid. There are receipts. I suspect because they got no payouts for several years, some members decided to not renew and then sourcemusic pulled the plug.