the open source licenses are not provided along with the AI generated code, AFAIK
Even when they were called out on it, it took them years to respond. And this was before LLMs; even then we knew that releasing things under Open Source is mostly a good-faith social contract.
These "is it still okay to x because AI exists" questions are besides the point. If you weren't considering the worst-case scenario outcome of your actions already then maybe you should. If AI forces your hand, so be it. But you can always Open Source your code, as long as you've accepted the same risks that existed for the past 20-30 years.