AI's Impact on Warfare: Algorithms Reshaping Battlefields and Future Conflicts