This is a poor comparison. Unlike crypto, AI today already has real world uses. And AI is growing exponentially, it's getting better and better with each month. Models can also be trained for specific purposes, resulting in more accurate outcomes. Many jobs today can already be completely replaced with AI.
We're good for 10 years at least. That said, I would hate to be a frontend developer for the next 10 years.