Amazon stock gained fractionally after the company announced a new division and leader focused on the tech giant's AI push.