The former corporate secretary and director of corporate law at Apple on Thursday admitted to engaging in insider trading in a scheme that ran for five years.