Samsung South Korean giant could invest as much as €1bn in French AI group seeking to be a leading alternative to US tech