I think you're using the wrong metric. It's not flash/RAM that makes something "IoT", it's size, cost, and power.
Look at a die microphotograph of an ARM Cortex M4.
The RAM takes up more than half the die area. Flash is about a third of the die area. ALL the functional units and processing cores takes up less than 1/4 of the die area.