French prosecutors have launched a criminal investigation into Apple’s Siri over alleged illegal data collection, intensifying scrutiny of the company’s privacy practices as it faces growing criticism for falling behind rivals in artificial intelligence.