Apple have one phone, or a few phone models anyway, but pretty much the same hardware. So one OS works with minor variations on all of their phones.
There are, however, nearly 100 Android devices now. Each one has different hardware. There's several brands, several CPUs, and vastly different...