One of the reasons I had Xiaomy phones in the past 5 years. Many models still have IR blaster.
Funny thing is I work for a company who manufactures products with infrared sensors and we have an app specifically for IR capable snartphones to fine tune these products. In the past 5 years I did not see a single client who would have IR on their phones, so basically the app is not used by a single person anymore. Either this or they can buy our official remote... for 200 euros a piece.