Battery ‘gigaplant’ to be built at Welsh former RAF base