That's a good question. The short answer is the energy that it takes to extract D2 from water is so small compared to the fusion energy released it isn't a factor. That is reflected in the cost of D2O at about $0.70 per gram. In a fusion reactor, even with inefficiencies, that gram of D2O will create about $1000 worth of electricity.