The item ID for Fire Extinguisher in Subnautica is:
fireextinguisher
Extinguishes fires.
The spawn code for this item is:
spawn fireextinguisher
The item command will add this item to your character's inventory. The item command for Fire Extinguisher is:
item fireextinguisher