I am not sure how one can avoid being sarcastic here. You honestly believe top execs at these companies have sat down and decided to ban OSS contributions because that makes for exhausted, overworked employees? Not saner, more flexible working hours, not more vacation time, not on-site nap rooms and such, they've decided? All of the things that, you know, might actually help. Nah, coders are just tired because they work on OSS in their free time. Come on now.
They're simply protecting their IP as much as they possibly can. If they could ban you from using a computer at all in your free time, without getting sued into oblivion for violating human rights and such, they would.