An agreement would be one of the biggest credit-card deals ever, cementing JPMorgan’s status as the largest credit-card issuer in the U.S. It would serve to bring two of the country’s most influential companies closer together, giving the bank a loyal base of Apple customers to whom it can pitch more financial products, and giving the Apple a sprawling consumer franchise to help it sell and finance more gadgets.