Microsoft to cut about four percent of jobs amid hefty AI bets