Warsh said he's optimistic that AI will make economies that use it well more productive and wealthier, warning the road there will be "very bumpy."