Approaching other subjects the same way we do math and programming would be quite monumentally stupid. Could you trust a "doctor" to make the right decisions if his/her experience consists of watching lecture videos on YouTube and answering quizzes?
However, should we completely give up on those fields that require specialized practice? I see it as more of a challenge than a reason to despair. For one thing, you can combine online education with offline practice (provided willingness of all parties involved to experiment with new approaches, which is certainly not a trivial thing to ask). Also, an approach I'd try is having games that simulate the real-world task as close as possible. At some point, you probably would need specialized equipment and/or test subjects. Reducing that to a minimum, though, is in my opinion a very good thing, as it would drive down the cost of education.