The IOC was embarrassed by it and the doping scandals, and it doesn't do well in the TV ratings. They cut the number of athletes that could compete to 120 across all classes and that's what the IWF agreed to, for reference, Rio 2016 was more than double that.
I wouldn't be surprised if Weightlifting is gone by the 2030's.