They are oilless. They wear out because the bags on the shocks rupture, and they run until the piston freezes up in the cylinder. The dirt in the case is probably because the case may not be sealed for whatever reason, and dirty air gets into it. It can also be from wear and tear on the internal parts.
The compressor is similar to the cheap 12 volt compressors used for emergency flat inflation.