The Science Behind Industry 4.0