Cheaper renewable energy is reshaping how electricity is generated and consumed. In many U.S. electricity markets, including Texas, coal-fired power plants are being retired because they can no longer compete on price compared with other sources of energy, including wind and solar.