You surely can't be that naive. There are numerous things a foreign company can do, such as leaving the country entirely. Threaten to withdraw unless China and Foxconn begin to take these issues more seriously. At $13 billion a quarter in profit and $100 billion in cash, it's not like Apple doesn't have a choice as to where their products are made.
Another idea is to offer financial incentives for factories that meet strict safety requirements. Offer them better terms, longer contracts, etc.