The iPhone maker will build its first Asia-Pacific research and development center in the country.