Combined CNC machine or two separate machines
First the hard conditions
Both options must cover the same operations, profile sizes and materials. An incompatible machine never wins because of a lower price.
Then the costs
In the demo example the CNC is 400 EUR cheaper to buy. If it costs 100 EUR more per month to run, the advantage is used up in the fourth month.
What decides
Parallel work, operators, retooling, space and service. Use the calculator with your own assumptions.