Megvii develops facial recognition applications and other artificial intelligence technology—and China’s rapidly growing security and Internet-finance sectors are taking notice. The Beijing ...