Media sites are taking action on several fronts as traffic referrals dry up and AI companies plunder their content