Microsoft doubled-down on AI this year, and the resulting backlash marked one of the biggest stumbles for the company.