Data can be helpful to improve some recommendations that will make service better in the future - fine, the users can opt-in and some will do that; but that's not an automatic justification to use that data;
Data can be helpful to support the future development your service with revenue - fine, the users can opt-in and some will do that (i.e. many people turn off adblockers and give patreon funding to services they like), but again, that's not going to be legal justification to use data of those who don't want to.
There are a bunch of other exemptions where you can use that data without consent (compliance with other legal requirements, overriding public interest as in e.g. press about public officials), but "I need money to continue operating" is not among them. GDPR is intended to solve the conflict between "I don't want to provide data" vs "I need data-based revenue to continue operating" in the favor of users. If you really do need that data based revenue to operate, then the users can "vote" (by opt-in) whether they consider your continued operation valuable enough to hand over their data voluntarily.