Smart Manufacturing: When Artificial Intelligence Meets the Internet of Things