A former New Zealand prime minister has denied writing an article attributed to her by the official newspaper of China's ruling Communist Party that praised the Asian giant's economic development at a time of strained ties.