Roomba maker iRobot filed for Chapter 11 bankruptcy Sunday and will turn over its business to a pair of Chinese companies and go private, capping a years-long fall from grace.