Electromagnets pull out the ferrous metals, other methods separate the plastic from the aluminum but I don’t remember exactly how, it’s been years since we learned about this in class.
And stripping complete motorcycles for recycling component by component is very labor intensive - a huge waste of taxpayer money…