China’s central government has approved Shanghai’s plan to build 29 gigawatts of offshore wind capacity, as the city works to cut emissions to meet Beijing’s ambitious climate targets.