The difficulty of mining a Bitcoin block automatically adjusts based on network hashrate as measured by how fast recent blocks have been mined. It is already the case that improvements in technology have massively increased hashrates (per kW) and difficulty (you'd be rich if you went back in time 10 years with modern hardware).
Likewise, electricity prices and miners shutting off their hardware will lead to a reduction in difficulty.