Nonlocal transport equations in multiscale media. Modeling, dememorization, and discretizations