Yes, you are correct. Once NIW rejected, the person who uses the EAD lost the status and hs to leave the USA.
But, if I-140 approved, the I-485 summited and applied EAD, once I-485 rejected, How about the person who used the EAD, still has to leave here?