Shkreli wasn’t convicted on raising drug prices. He was running multiple organizations and was using left-pocket right-pocket accounting to fund one organization with the investor funds from the other. That iwas not legit and illegal.
When the state finds it's target, they're not bothered they find an unrelated technicality to really punish something else. What they clearly were actually punishing was legal behavior raising price.