Tech giant Meta on Tuesday said it has agreed to pay Texas $1.4 billion to settle a lawsuit brought by the state accusing the company of illegally using facial recognition software on its customers.