There's at least as much battery production of batteries in Ireland as there are viable coal mine sites.
And crucially batteries aren't fuel they're storage.
Also all these economies do make stuff, they just don't employ huge numbers of semi-skilled workers to do so. Most of the factory jobs are gone, but the factories are not. I live in a port city, about a century ago this city had loads of jobs crewing ships and loading cargo but today more work is done by a tiny fraction as many people.