It's been my experience that the rails and ball screws are not impacted too much by sawdust as long as the seals and wipers work correctly and they are kept properly lubed. At least this was the case with my 30 year old router, but towards the end of its life the sawdust had taken its toll.
Most modern routers are driven by ball screws and have rails, they seem to work fine. Many times the moving gantry machines are driven by a rack & pinion arrangement, with only the Z axis on a ball screw, these also work fine.