>I wonder if the pyramids were some kind of free energy source or power plant.
Both are quite possible. However, the former is more likely. With the Earth's electromagnetic fields producing the power, distribution would be the more likely of those options and is supported by some people who have researched that subject matter (to include Tesla).