Zillow's online house-flipping unit has turned into an embarrassing flop, forcing the real estate company to exit the business and dump thousands of its own properties on local real estate markets.