Isn't firefox mostly making its money from Google? They'll be struggling too if Google gets out of the browser business and no longer feels the pressure to sustain them
Google also pays Apple for the same reason.
Now it would probably be paying the Chrome company as well.