Apple's Cook says he will talk with U.S. official on immigra