The government’s military research agency, DARPA, says it has demonstrated a bullet capable of locking onto a moving target from up to a mile away.