Firefighters were called to deal with a bonfire that "became out of control" and affected garages, fencing and trees.