Eileen Wang, the former mayor of Arcadia, Calif., pleaded guilty Friday to acting as an illegal agent for the Chinese government.