It's an old link, but here's Apple enforcing that against a developer who developed an app in their spare time, and Apple wanting to take ownership of the app & source code:
That app is competing with Apple's iTunes, so that seems more like a non-compete issue. I'd like to see an example of an employee developing something completely unrelated to his employer's business.