Even if Gates never said it, someone involved in the design of DOS decided that 640k would be the demarcation between normal memory and "reserved".
So somebody, somewhere, decided that 640k was "good enough" vs 700k or whatever.
So somebody, somewhere, decided that 640k was "good enough" vs 700k or whatever.
Moreover, 640K is kind of a natural division point in hexadecimal notation. Address segments in the 8088 memory model were 64K, hence segments 00000–90000 were for RAM, and segments A0000–F0000 were for ROM and hardware.
(The original Mac hardware is in many ways a masterpiece if you like tricks like this.)