Automatic forming of composite aircraft beams