Credit cards will pay the lounge some pre-negotiated fee based on your usage. So the lounge will probably break even or make a small loss if you don't buy anything that is not free. The lounge will certainly make money if you buy anything (typically alcohol including beer or services like the massage/spa/shower).