Actuarial Science

Hi CC,
Recently, I have discovered about the actuarial field. Since I found the career to be very interesting and suit my interest (Math), I would love to pursue it in the future. However, I also found sources claiming that the actuarial work can be easily replaced by AI, and the actuarial career is not long-lasting. Can anyone here give me some opinions/facts on the problem? If actuaries are gonna be replaced by AI, then when do you predict them to be?