In the best case a University education in a STEM field will lead you pretty quickly (within 3-5 years) to do research in a lab that does cutting edge work. Most of that lab work can't be distributed or done online, nor can any of the preparatory lab courses in small groups with constant supervision (which are a large part of Physics, Chemistry, Biology, Medicine degrees). Even in subjects such as math and computer science a huge part is exercises that are graded and then discussed in small groups of 10-20 people. This wouldn't easily translate to an online experience either.
Universities like Cambridge even offer 1:1 supervision in Math and Physics, this can be totally awesome and is non-replaceable by video chat or online forums.