A military superpower was outsmarted by a swarm of tiny robots -- and it's just the beginning