Demux I2C with a relay system or similar
While in theory a transmission-gate (analog) mux could be used for this, there are dedicated I2C multiplexer ICs out there that may work better for your application -- see the PCA9545A for an example of a part that's suitable for your application.