I have to be honest, I'm surprised this is seemingly such a rare thing in the tech industry. I mean, in the various (admittedly small) companies I worked for as a web developer, I never had anyone worry about what I was doing outside of work hours. Heck in most cases they explicitly said I could do what I wanted outside of work and that if it made money... well good for me I guess.
But hey, they were small companies. Usually with a total staff count until 20. Guess it must be totally different at a multi national corporation with an actual legal team on call and what not.