For more than 50 years the Pentagon's hi-tech research branch Darpa has strived to stay ahead of an ever changing world.