Wars spark $12bn defense tech investment