Apple Inc.’s head of global security and the Santa Clara County undersheriff are among those charged in an alleged bribery scheme in which iPads worth $70,000 were to be given to the Santa Clara County Sheriff’s Office in exchange for concealed-carry firearms permits, according to an indictment released on Monday.