I don't think there is any particular magic involved here, particularly if you are a school, like the two with which I am associated, is not blessed with a large endowment.
Technology is expensive, and the cost is ongoing.
Certainly we can look around for grants and we can save our supermarket receipts, but these are short term solutions. I don't think you would want to go looking for grants to hire teachers. If you decide as an institution that you need a teacher, you budget for it. Similarly, you don't ask parents to bring in grocery store coupons to pay for heat for your building. In developing a school budget and in figuring out how much to charge for tuition, the Board takes into account the fact that it has to pay to heat the building.