The impact of artificial intelligence on the film industry is sparking debate at the Cannes Film Festival in France.