How AI serves as a cornerstone of Industry 4.0