Edge Computing vs. Cloud Computing: Challenges and Opportunities in Industry 4.0