The way to deal with that in the analog world is an expensive process called 'trimming' where you use adjustable components to get you where you want to be. But trimming makes the circuitry sensitive to being bounced around and makes it more sensitive to temperature changes if you use the cheap version and the expensive version (digital circuitry masquerading as trimmable analog components) puts the horse behind the cart if you wanted analog then you're no longer getting it (but some kind of quantized version of analog).
For some circuits this is all more important than for others.
Finally, digital reduces the component count and so increases reliability and decreases cost. Software is hard to make and expensive but once you have it the marginal cost of reproduction is next to zero.
Digital, once the bugs are worked out has none of these issues and so lends itself much more to economic mass production.
But another feature, not inherent to all digital circuits but certainly prevalent, is the ability to reprogram them. For me to change an analog circuit might take hours with a soldering iron. You can load a whole new "circuit" into a digital system at the push of a button. This in turn changes how products are designed. Analog functionality is used sparingly where needed, and gotten working early in a project. The digital system is left with some flexibility, e.g., allowing changes to made later in the project without drastic hardware revision. The mantra of the analog team, at the 11th hour of the project, is: "Can we fix this in the firmware?"