If those companies didn't need people on-site, the jobs would, and typically do, go overseas to lower-wage countries. There are tons of companies using remote work. It's called outsourcing.
I think the early 2000s burned a lot of companies for trying to cheap out on dev costs by offshoring - offshoring is a valid choice in some situations and will probably become more and more competitive as time goes on... but there still is quite a lot of value in hiring out of the four year uni grad pool.