Companies across the globe are turning pineapple leaves and cores into textiles, plates, soap, and more.