Case Studies for the Establishment of the Optimized Smart Factory with Small and Medium-Sized Enterprises