If you can grip the cog in a large well secured vice it may well undo, some heat on the cog will help but let the cog get cold before you try to undo it. Aluminium expands more than steel so at first the cog will be on tighter hence let it cool. Try turning the wheel a bit to tighten the cog first as well. Put some lubricant on the threads, if you can get it some diesel fuel will do. Other than that it may well be a very careful job with a Dremel or similar to cut away the cog enough to break it across the threaded part.
If you can grip the cog in a large well secured vice it may well undo, some heat on the cog will help but let the cog get cold before you try to undo it. Aluminium expands more than steel so at first the cog will be on tighter hence let it cool. Try turning the wheel a bit to tighten the cog first as well. Put some lubricant on the threads, if you can get it some diesel fuel will do. Other than that it may well be a very careful job with a Dremel or similar to cut away the cog enough to break it across the threaded part.