If my license prohibits use of my work for ai training, or requires that any modified code includes my license or credits, or i lack a license, or my web blog doesnt give you permission to train against my content then you shouldnt use it. Google tried hijacking content with amp and ai is not different from it. If you violate my terms then i want to be able to submit evidence - or suspicion - to a government agency that audits or fines you to oblivion. Ideally you have to pay damages equal to the number of people that you may have sold my content to, in full or partially.
This would lead to a win win setup. Artists, developers, writers, lawyers and so on would need compensation for training content - one time or ongoing - leading to higher quality models, job growth and a superior ai product over all.
Ai is by and large a net positive but needs to be done right.