For the first time since 1964 a yacht under a British flag will contest the final of the America’s Cup after Ben Ainslie moved to the edge of history off the coast of Barcelona on Friday.