China and Brazil, both running out of steam, need to trade economic models—like a house swap