The first CD that I ever bought back in 1991 came in a longbox, but I don't recall any of the CDs I got after that coming in them.
The recording industry loved the longbox, because it supposedly made CDs harder to shoplift. But for an industry that generally likes to consider itself progressive, being the target of protests by environmentalists was a bad look. So by the early '90s they'd given up on the longbox, dropping it completely and just shipping the CD in the plastic "jewel case" by itself.
As retailers installed dedicated CD shelving systems, the longbox format was abandoned.