Several buildings have collapsed in recent years in Nairobi and other cities in Kenya, a country in the midst of real estate expansion.