When estimating the progress of technology, we have to factor in the accelerating speed of its development. In 2001, Ray Kurzweil wrote that every decade our overall rate of progress was doubling, “We won’t experience 100 years of progress in the 21st century—it will be more like 20,000 years of progress (at today’s rate).”
Every twelve to eighteen months, computers double their capabilities, and so do the information technologies that use them. The following site has a series of charts that graph the projected evolution of technology if it continues the established trends (barring unforeseen catastrophes such as global disasters).
Five years from now, technology will be 32 times more advanced than it is today.
Ten years from now, technology will be 1000 times more advanced than it is today.
By 2040, technology will be one million times more advanced than it is today.
Another article about the accelerating speed of tech:https://singularityhub.com/2016/03/22/technology-feels-like-its-accelerating-because-it-actually-is/
So, to answer your question: Twenty years, max.