I've recently been reading a book called "Why Liberalism Failed" by Patrick Deneen, which also sees these two forces as working together to harm both the individual and society at large, but not by restricting our liberty so much as trading away other valuable social goods for a surfeit of liberties most of us don't actually need or benefit from. The liberty to buy whatever our appetites desire, at any time. The liberty to uproot ourselves and live "globally" without concern for the locales we leave behind. The liberty to profit seek without regard for externalities.
Deneen draws a contrast between "liberty to <do, own, or be something>" and "liberty from being ruled by our animal urges and appetites". The ancient Greeks who coined the term saw liberty as a virtue explicitly in the latter capacity. But the modern sense of what it is to be liberated is explicitly centered around the former. But I think the liberty you allude to is more of the ancient conception, and I agree, the pincers of the government and the market are eroding our liberty from animal urges, in exchange for an ever expanding menu of nominal liberties to which are often harmful to ourselves and others.