It’s not just the rust, it’s the lead in the pipes, the abestsos, and so on. Developing countries are just different, you can’t compare their problems to developed country ones.
All removed with basic filtration+activated carbon. I've spent time in countries at the bottom of the human development index. (Good) filters are enough.
Doable with various techniques, to varying levels of effectiveness. Activated carbon is the cheapest, but not the most effective. Definitely tractable.