But for Shanghai , as for much of China , getting rich and growing attached to cars have increasingly gone hand in hand , and have produced side effects familiar in cities that have long been addicted to automobiles -- from filthy air and stressful , marathon commutes to sharply rising oil consumption .