Facing increasing pressure from customers, some miners are switching to renewable energy