Maine is allowing limited use of artificial intelligence in government while requiring safeguards, human oversight and strict data protections.