Amazon (AMZN) reported first-quarter earnings and sales that exceeded expectations, driven by strong growth in its cloud-computing and advertising businesses.…