Crushed by debt, tariffs, and intense competition, the Roomba maker enters Chapter 11 protection, marking a significant shift in the smart home industry.