Ford is to reprogram software in 236,643 locally-built Focus models in China in the carmaker's largest recall in the country.