Amazon.com shares fell about 7% on Friday as the tech giant's results fanned investor fears its cloud unit was falling behind Microsoft and Alphabet in the artificial intelligence race.