Smart Manufacturing: From Automation to Intelligence