From the local level to the White House, officials are trying to figure out how to keep up with artificial intelligence.