In a stunning case that highlights the risks of unauthorized cryptocurrency investments, a software company’s chief financial officer faces 20 years in prison.