Unique Ergodicity in the Interconnections of Ensembles with Applications to Two-Sided Markets