The changes now being wrought will lead to more factories and require more power, automation, and artificial intelligence to run them.