U.S. tech giant Apple Inc. borrowed $7 billion on Wednesday by issuing corporate bonds, its first such deal in nearly two years.