Non profits have always been able to have for profit subsidiaries, owned by the non profit.

IKEA is a famous example, although they sequenced things in a way many commenters here would probably be fine with

https://en.wikipedia.org/wiki/IKEA_Foundation