That's kind of asking the impossible. Innovation and advancement don't stand still like that. A middle or high school should not be faulted for not knowing what technologies will be in use in 20 years. Quite literally, they can't teach technologies that have not been invented yet. So, again, they pursue the only practical strategy available to them, they teach a general course of study that gives students the ability to absorb and understand what future trainers will teach them. They can't do job training because they literally have no idea what kind of good jobs will be out there when this kid turns 30.
Just make sure the kid is able to absorb the training whatever boss s/he has gives him/her. That's about the best the schools can do. Employers and college really do have to do the rest.