Samsung is a supplier of really top quality electronic components in the industry, and at the same time offers those components at extremely competitive prices. That made Apple the primary beneficiary of their contractual relationship, because you can be dead certain that Apple didn't let Samsung charge a premium just because their components were going into high margin Apple products. Samsung doesn't have to beg people to buy their components, they sell themselves on price. Samsung PoP memory even went into the extremely cost-sensitive Raspberry Pi, which really underlines Samsung's approach to pricing.
Once Apple replaces Samsung after their myopic patent war, the replacement partner is very unlikely to match Samsung on quality and price together, so if Apple wants high quality they're going to have to pay more and pass that cost on to their customers.
There is only one loser in all of this, Apple users, because it's unlikely that Apple will reduce their margins. And Samsung is almost certainly delighted that once Apple finds a replacement they can stop supplying a partner that chose to become an enemy, and in the interim to force a price hike.