If there becomes a surplus of power-inefficient hashing gear that is no longer profitable to operate, and the aggregate capability of that "dark" hashing power grows significant compared to the online hashrate, it could be used to carry out a 51% attack. But since ASIC efficiency gains are due to increasing hashrates (with roughly constant power density), this seems unlikely.