How are these shaped?

The best shape control is most likely to have the extruder head bend these directly into shape. From what I have seen factories do with CNC bending and pasta extrusion, that may very well be possible.