Former Apple CEO Tim Cook's relationships with Trump and Xi still have some utility.