The core set of rules comes from specific actions that were banned in the ancient Tabernacle on the Sabbath. Electricity use is not banned per se on the Sabbath (as electricity was not discovered several thousand years ago); instead, the core law of "do not fix things on the Sabbath" was ruled to ban completing circuits on the Sabbath once electricity became widespread; similarly, "do not break things on the Sabbath" covers breaking a circuit. The rules only cover actions performed by Jews during the Sabbath; they don't cover actions taken on other days even if those actions result in changes on the Sabbath, so for example setting up a timer to turn lights on or off is permissible as long as you set it up prior to the Sabbath. Ditto for these kinds of elevators.
The Sabbath rules have pretty much nothing to do with environmentalism or energy use.