By not enforcing your patents. Just ask TiVo.
Also they spun off the military robots arm of the company into its own business a long while back, so they didn’t really care about this corp anymore.
Nest or Ring would be smart to buy up the carcass of iRobot for their IP, talent ,and customer base. But they probably won’t.