The cryptocurrency bitcoin, which saw stunning gains last year, lost more than half its value over the past six months.