I put out the fire by cutting off the oxygen.

Literal

Air [object-を] cut-off-[and-て] fire [object-を] extinguished.

遮断する ('to cut off, to block, to intercept') is used for physical flow — air, traffic, electrical current, communications. 空気 can mean 'air' in both the physical and atmospheric senses. A basic fire-science statement.