The cost to transform the seaside community of Sochi into the host of the Winter Olympics has been $51 billion, a figure that could climb.