Artificial intelligence will only enhance government service and operations if applied carefully, according to a new report.