Directed energy weapons’ are a cheap way to hit a lot of targets – and militaries around the world are taking notice.