If you mean they shouldn't. I'd agree. But, as has been seen a lot on youtube. "They" can DMCA anything they want, and the only route out is usually to take them to court.
I mean I'd hope if they're going in this direction they will be decent about it. But, it's not the way things seem to be lately.
I've never had AI create working code anyway.
But it will generally point me in the right direction. It's useful for:
You need to be skilled to spot the mistakes it will definitely make.