Quantum entanglement in a four-partite hybrid system containing three macroscopic subsystems