Employers have concrete strategies available to them for maintaining their position in this negotiated relationship. Typically they will have a performance review process, which should have no problem determining whether they're getting what they're paying me for. Separately, the legal system we're both subject to protects legitimate intellectual property perfectly well without overbearing noncompetes and invention assignments; cases of physical property theft, etc., are also covered.
So what's the problem? Why should employers have additional rights to make sure that, if the situation is ever remotely muddy, it goes their way by default?
(I say should in the moral sense, and the broader sense of socioeconomic utility. In a might-makes-right frame, obviously they should have it simply because they are strong enough to take it. That is what we have right now, in practice.)
This is a bit like "sure I'm dating one of my direct reports, but as long as I don't show them any special treatment what's the problem?". In both cases even if you genuinely believe what you're saying, it causes your incentives to be very much misaligned with your employer's.