It’s not just that, some analog devices can’t be miniaturized, because they don’t work binary. Sometimes you need to generate a certain current or power output and a too small device structure won’t be able to do with without overheating. Same with a sensor - if you want to capture some photons , you may need the receptive area to be of a certain size etc.