That would be the singularity moment. If an A.I. can create a smarter version of itself, then you get a positive feedback loop to create a super intelligence, At that point the only limitations to what a AI could do would be a will to power, and the required compute / energy. That would have severe consequences for our economy, as basically all human labor would no longer be competitive in the marketplace