From the wiki:
Demonic Statue
Stone statues that breathe fire. Highly resistant to fire and lightning damage. They pose little to no threat, though they deal somewhat hefty damage and come in groups in most encounter, however, they can be quickly and easily outran, especially because they don't usually follow players to other areas.
Basically, these are the kind of enemies that are just annoying - they can get in your way, and easily gank you if you're not paying attention; but if you deal with them properly, and one-on-one they cause no real threat.
As for the actual statues; the only reason they are there is to keep you on edge. There is a certain area in Lost Izalith where it's dark, you've just come from a lava-lake full of giant Undead Dragon butts, and you have to get through what appears to be upward of 20 of these guys.
Case in point.
However, in some areas of this game, (depending on console/graphics settings) it is easy to distinguish between the live and inert ones, as the live ones usually have a brighter, orange tint; and the inert ones are a more dull, grey-brown hue. Also, if you look closely, the live ones appear to hover (move up and down subtly).
Some tactics
Firstly, these things will come at you from a range. Move up slowly and carefully, and you should only attract one or two at a time at most. You can also use a bow and arrow to pull them if you wish.
Avoid Fire or Lightning weapons. A basic longsword should deal with these guys just fine. When they attack, they will either use a straight-plume, or a sweep. They will not move during this attack, and have no poise (that is, any hit will immediately stagger them), so stagger-locking is a regular tactic.