A cyberattack has impacted about 40 French tourist spots, including the Grand Palais where some Paris 2024 Olympics events are taking place.