Your right. Air conditioners can do more work than is put into them...sort of.

A heat pump is probably an easier example. A heat pump is just an airconditioner with the hot coil inside and the cooler coil outside. A heatpump doesn't convert electricit to heat the way a resistance coil does. A heatpump just moves the heat that's already outside into the room. It's more efficient to move heat from one place to another than to convert electricity to heat.