Fluidized beds for metal production