Renewable energy companies are eyeing opportunities in traditional coal-mining towns as part of Australia's electricity transition.