Empowering Energy Infrastructure: The Role of 5G/6G and Edge Intelligence