An EAD allows you to work for any employer, be self-employed, etc. Period.
What you refer to is the issue with the underlying I-485 for employment-based GC cases. While the EAD allows to work for any employer, somebody with a pending employment-based I-485 has to continue to work for the sponsoring employer. The person could of course use the EAD to work for somebody else in addition.