U.S. bitcoin mining stocks have rallied in the first half of June amid a rising hashrate share and AI data center opportunities.