What if the factories are located in foreign countries and the belligerents are only buying off-the-shelf products ?
Wars are always bad news and robot wars are very bad news. Many countries will fall into an endless war economy.