Texas Attorney General Ken Paxton said Tuesday’s lawsuit arose from a probe announced in June into whether several automakers collected and sold mass amounts of data without drivers’ knowledge.