This 9v battery contained six cells stacked like a layer cake
Picture of a disassembled Duracell 9v battery. Below the terminal assembly is a clear plastic case where you can see six sets of stacked rectangular terminals and fillings.
I had an old 12v power tool battery die, so I took it apart to find 8 generic AA rechargeables wired together. I suspect lots of batteries are multiples of 1.5v (9/12/18) because they're just stacked smaller cells that are already mass produced.
The voltage range depends a lot on cell construction, temperature, load or charge rate, and chemical mix.
For example "lead acid" batteries with lead and sulphuric acid have a cell chemistry voltage of 2.05 volts but their nominal range is 1.8 to 2.4 volts per cell. Translating that to a 6 cell "12 volt" car battery gives you a range of 10.8 to 14.8 volts.
Yeah they had nicad or nimh batteries donated together to create the battery pack. I had an old shaver that was the same way. Laptops with replaceable batteries do the same things
Current power tools still do this, but with 18650 lithium cells, or some larger variant. But now the trendy thing in power tool batteries are the pouch cells, like the kind found in cell phones and slim laptops. I gotta they're more energy dense, since there's less of an air gap between cells.
There didn't used to be efficient ways to convert DC/DC voltages up in electronics (you could drop it, though also not very efficiently), but nowadays there are technologies to do that and hundreds of choices of integrated chips that do most of the work along with a inductor and a diode (these being the very minimal set of parts) with about 90% efficiency, so stuff that needed higher voltages and had to use multi-cell batteries for it in the past, now can be done with batteries that output much lower voltages along with one of these voltage converters (called "boost converters").
(For those in the know, yeah there was already something before for lower currents called voltage pumps, using only capacitors, but those thongs couldn't handle higher currents).
Anyways, all this to say that manufacturers can now choose to use smaller and simpler batteries for the equipment they make and convert voltage up in circuitr cheaply and with minimal losses, hence you're much more likelly to see that when it makes economical sense for them (for example, by being able to use the more common battery types rather that having to have unique custom batteries, as the latter are more expensive since they do not get the same savings from the economies of scale of mass production).