Extreme downpours have wreaked havoc on the French Riviera, leaving at least four people dead and authorities warning that the toll could climb higher.