Ultrathin 2D Ti3C2Tx MXene membrane for effective separation of oil-in-water emulsions in acidic, alkaline, and salty environment.