French supermarkets are leveraging AI to curb rising shoplifting losses, sparking debate over privacy and legal frameworks for surveillance technology.