There is no legal obligation for them to supply you with one, just many apartment owners choose to because it is cheaper to pay $20 for a fire extinguisher than have your apartment building burn down from an otherwise stoppable fire.