Shanghai is very modern, has good roads, and bike paths, but people drive everywhere.
I had this day free, so I walked 1 km to the Shanghai Zoological Park to observe some of the local birds. The 1 km walk is a challenge. There are bike lanes, used by everyone going everywhere, and bikes, motorized rickshaws, and small taxis using the sidewalks. Crossing the street is pure possession. Just aim and do not stop.