Microsoft said on Tuesday it would stop selling technology that infers someone’s emotions based on a…