What transformed most industry by the 1800s