Apple Inc. and Goldman Sachs Group Inc. rolled out a virtual credit card on Tuesday, which will help the iPhone-maker diversify from device sales and also build out the Wall Street bank's new consumer business.