Ecosystem for autonomous safety in Industry 4.0