It prevents things like moonlighting, or doing charity work.
I worked for a company that employed a lot of top-notch photographers, and there's no way that they would have agreed to anything like that.