I've not a clue but they keep finding ways to cram more into decreasing areas. In the case of a SD card, I read they are made up of tiny transistors of a type called "Floating-gate". See Flash Memory