The chip maker and online retailer are teaming up to build data-center infrastructure, including chips and optical networking products.