Shanghai recorded its highest May temperature ever amid an extended stretch of sweltering spring heat. China’s most populous city saw the mercury soar to 97 degrees F (36.1 degrees C) Monday, beating the previous record of 96.