A broken Apple wireless keyboard. I believe the battery leaked and damaged the connections, preventing another battery from working. (It also, I think, made opening to battery compartment much more difficult).
If you are handy with a soldering iron then you might be able to repair it.
Broken Apple Wireless Keyboard (Alnwickhill EH16)
This offer has been gifted to someone and is no longer available.