Several AI companies are getting sued for what their products allow users to do, as was Google for what YouTube allowed its users to do.
YouTube is probably an instructive example here: they can refuse to host certain content on their servers, and this is Anthropic refusing to have the AI on their servers perform certain tasks.