At least 10 people have died as extreme weather conditions, including a powerful typhoon and flash flooding, swept across many parts of China.