Accountancy is something that is at high risk of AI automation in the next decades
Complete bollocks. I've been an accountant for 40 years. I remember people saying the same in the 80s when computerised book-keeping/accounting software started to appear. Around that time, there was also what was being touted as a "massive" risk to accountants when the banks started their own book-keeping/accounting services. Nothing bad happened.
Then in the 90s and 00s, it was the accountancy profession at "risk" of automation via internet banking, bank accounts automatically linked to accounting software, businesses being able to "ping" their returns to HMRC without a book-keeper/accountant involved. Nothing bad happened.
The reality is that accountancy is as strong as ever. It's a profession that is constantly evolving. When one door closes another swings open.
Yes, I'll accept that there may be "risks" at the bottom end of the profession, i.e. basic book-keeping and data entry and maybe the old-fashioned "tick and bash" style of auditing, but that's really not what fully qualified/experienced accountants have ever done, and those low skilled jobs have been getting "automated" for decades alongside improvements in IT.
There are so many strands to the accountancy profession, such as tax planning, business development, data analysis, financial services, insolvencies, estate planning, consultancy, etc., that, if anything, the need for broadly trained/experience accountants will increase to work alongside those developing AI systems. And, of course, lots of qualified accountants leave accountancy practice and move into industry/commerce to take jobs as finance directors, and a fair proportion even to managing directors.