Leveraging 5G/6G for Smarter Grids, and Autonomous Systems