Twitter CEO Jack Dorsey said he would offer to help the U.S. government prepare for the impact of AI if it wasn't prepared.