Artificial intelligence is poised to transform government operations, but ensuring it can do so successfully will require the right approach.