The Bitcoin miner reported a net loss of $17.7 million in the second quarter of 2024 despite hashrate growth.