Chinese online real estate company SouFun Holdings Limited announced it is buying a building in New York City, ostensibly for training its staff.