AI will completely change graphic design in the next 10 years or so, but that's no reason to pursue it.
It's almost certainly going to massively reduced the number of graphic designers employed around the world. Automated tools (like Canva etc) will get more sophisticated, meaning non-designers won't need an agency to design stuff for them.
However, at the top end of the industry, the future is looking fine. People will always be needed to tell the software what to do, and decide if it's any good. Original ideas, an eye for trends, and a good sense of taste are more important than how well you know the details of Photoshop. Luckily a decent number of the best agencies in the world are based in the UK, and they aren't fearing AI at all. In fact, they're embracing it.
So, to answer your question - if you want to do graphic design - do it. It's always better to choose subjects that you enjoy. Graphic design skills can be used in a variety of other courses at Uni too. It's worth saying that AI will affect every field, not just graphic design.
It's worth saying that lots of University graphic design courses seem to be burying their head in the sand when it comes to AI. I see some courses running the same projects they did 10 or 15 years ago, so if you do end up going down that path - choose somewhere that teaches contemporary skills.