Some machines are dual-purpose, but others are designed specifically for either donuts or churros. Check the product descriptions for compatibility.
As a rule of thumb, donut machines will have a ‘moving’ mechanism, whilst churro machines have the churro moving freely in the hot oil bath.