MicroStrategy may have to pay up to $18 billion in realized bitcoin gains despite the firm never selling a token, WSJ reports.