Artificial intelligence to advance energy technologies