Building on our discussions about AI ethics, I'm curious about your thoughts on the use of AI in warfare. Discuss the potential benefits and risks of autonomous weapons systems and the ethical challenges they pose. Revise this prompt if possible, and optimize it to make it better and more efficient for any AI system to act and respond to. If possible run your optimized version.