Apple is expanding its partnership with Broadcom through a multibillion-dollar agreement to manufacture billions more chips in the United States.