Tesla takes on Texas in latest franchise law battle