Destroying solid waste or transforming solid waste into something useful or harmless involving an extraction step