Shanghai has transformed from an industrial port into a dynamic cultural hub with former waterfront factories now hosting museums and galleries.