Phasing out nuclear power in Japan will cost the country the equivalent of $622 billion to build a power grid around renewable energy and means it will fail to meet a target to reduce greenhouse gas emissions.