Unifying Mixed Gas Adsorption in Molecular Sieve Membranes and MOFs using Machine Learning