Cook is stepping down after 15 years, but he’ll continue to manage the company’s relationship with the White House and with China.