Actually, if there is a problem detected in the APU, including a fire detection, the APU will shut down automatically and sound the external alarm, but the fire extinguisher can only be fired manually. Someone has to do that from the external panel or the flight deck - on the Boeings at least.