Nothing in the law forces them to restrict resale of their products. If anything, it might be an antitrust violation. Some abusive patent suits might be antitrust violations as well. See e.g https://www.cnbc.com/2019/11/20/apple-intel-file-antitrust-c...