Amazon on Thursday became the latest tech company to announce swelling investments in A.I. amid stumbling share prices.