This isn't true for iOS at least. You can include device erase capabilities in the MDM profile without enrolling as a managed device.
What you mean is the device enrollment on non-supervised devices, however and to my knowledge, enterprises do not use this, or if they do, it is very rare. (edit: And if they do, it's apparently a grave mistake.)