France's rail network has been hit by a massive coordinated attack hours before the Olympic opening ceremony begins in Paris.