AI bubbles may seem risky, but history shows they drive progress by building infrastructure, talent and capacity for future innovation.