Less than a month after succeeding Tim Cook, John Ternus is restructuring Apple to eliminate middle-management layers, dismantle traditional release schedules, and speed up device development across artificial intelligence and hardware.