Measure expected to pass next week represents major rebuke to big tech as local disquiet over AI boom grows