I would probably create a bridge or something over the slums. Cheap enough toll to not be much for the people living in the condos, but expensive enough those living in squalor below find it unaffordable. Then you could pretty much live your life going from middle class+ establishment to the next without having to think about the slums below. The bridge would also double as a shelter over any leaking tarp roofs below.
The “toll” to be on the bridge is the cost of ownership of motorized transport. Wealth segregation by neighborhood is also a thing. This segregation is executed similarly to how it is in North America or Europe.
FWIW, in Mumbai they differentiate a bridge to be road over water and a flyover to be road over other road or residence.