When the Islamic State seized territory in Iraq and Syria, it had the time and space to industrialize advanced weapons manufacturing. The results included explosive space heaters and chemical rockets.