While the growing energy demands of AI are worrying, some techniques can also help make power grids cleaner and more efficient.