The difference is that Mozilla’s for-profit arm is owned by the non-profit. The for-profit part of OpenAI is there to make a lot of individuals and for-profit corporations rich.
OpenAI’s profit-generating subsidiary isn’t just there to further the non-profit mission like a museum gift shop or Mozilla’s for-profit subsidiary.