Cyber-Physical IoT and Autonomous Systems in Industry 4.0