Nairobi has great malls, Uhuru park and good high rises but the average person isn't enjoying that. Look at Eastleigh, Kibera, Mathare (feel free to google) or the majority of Nairobi suburbs except for Westlands, Runda, Karen and Lavington.
The largest slum in Africa is in Nairobi.
You are a foreigner, those facilities are made for you and wealthy Kenyans (Indians, Somalis and Kenyan politicial elite).
I am not hating on Kenya, I have really good friends from there and I have always loved going there but we have put them on a pedestal. Outside Mombasa and Nairobi, the country is vastly different.
This is also Nairobi btw, well over a quarter to half of Nairobi lives like this:
Kibera slum (1 million people)
en.wikipedia.org
Mathare slum (500,000 people)
en.wikipedia.org