Studying has never been about learning things but inserting yourself into the social hierarchy with your social and intellectual peers. So long as you pick a socially relevant topic to study you will be fine even if AI takes your job because it will take the jobs of all the socially relevant peoples kids too and that means society will bend over backwards to ensure they are well taken care off.