Non-compete clauses must also be limited in scope (geography and profession) and must not stop employees to live from their trade. As a result companies rarely exercise non-compete clauses since they are regularly thrown away by courts ("conseil des prud'hommes" in french).
Still they are part of the so called "standard work countract". I imagine most companies just get their base contract copy-pasted from the same template.