SAN FRANCISCO (Reuters) - In a landmark development for the way Western companies do business in China, Apple Inc said on Thursday it had agreed to work with partner Foxconn to tackle wage and working condition violations at the factories that produce its popular products.