All micro's provide a selection of different combinations..
Some micro's don't provide much memory... Some do.
Take the PIC for example...
You can get 1k, 2k, 4k, 8k, 16k etc.. flash memory... This increases the cost of the component.
Then there is a certain amount of SRAM which also increases the size of the device cost.
Lastly we get EEprom. many devices have a few bytes available, again down to costs.
You select what chip you need... A consumer would select the most practical device to suit their needs..
Chip manufacturers are constantly looking at the market, to see what's being used, trying to fill that need..
So ultimately.. We decide memory sizes and device functionality..