It's not new Anthropic/OpenAI/whatever trained on copyrighted code and leaks (anna's archive). Companies just don't give a shit because you can't prove it.
In Asahi Linux specifically, there was not long ago a PR for M3 or similar for removing a big roadblock that existed (and I think still exists). Turns out this whole PR was implemented by an LLM (using copyrighted materials, probably most of it is Apple's) and it was immediately closed. Yes, it's a problem and illegal.