You can rent a car together with a Chinese friend, if you want to explore different areas when travelling. That’s how I did when visiting Yunnan some years back.
However, you should not rent a car if you’re a foreigner and don’t have a temporary driving permit. And I advise you to not drive in the bigger cities such as Beijing and Shanghai. The subway and taxis are more convenient, safer, and cheaper.