A sustainable deep learning framework for fault detection in 6G Industry 4.0 heterogeneous data environments