About 50 million people have escaped extreme poverty because of social safety nets, from pensions to feeding programs, the World Bank said on Wednesday.