There isn’t a contractual obligation for Disney to build to second gate in Shanghai. Unlike Paris, the Shanghai government is the majority owner of the resort and don’t want to be bound to funding a project they don’t want to pay for.
In Paris, Disney was obligated to build a second gate or else forfeit the land to the French government. So they built a park as cheap as they possibly could. Without that obligation WDSP probably wouldn’t exist today.