In that case they can do what they do for iOS apps - scan for the use of those instructions in any binary released through the App Store and refuse the update if they are used.
Apple can't control random software people download off the Internet.
Apple can't control random software people download off the Internet.