Can AI feel pain? Models learned it from human text, study finds