Waste pyrolysis, gasification or cracking in a mechanically fluidised bed