Strongly rooted in the Internet of Things and Cyber-Physical Systems-enabled manufacturing, disruptive paradigms like the Factory of the Future and Industry 4.0 envision knowledge-intensive industrial intelligent environments where smart personalized products are created through smart processes and procedures. The 4th industrial revolution will be based on Cyber-Physical Systems that will monitor, analyze and automate business processes, transforming production and logistic processes into smart factory environments where big data capabilities, cloud services and smart predictive decision support tools are used to increase productivity and efficiency. This survey provides insights into the latest developments in these domains, and identifies relevant research challenges and opportunities to shape the future of intelligent manufacturing environments.