Meta and Microsoft reported better-than-expected earnings for the last quarter on their AI businesses, but muted outlooks saw their shares drop after hours.