Amazon’s run of record-high earnings came to an end Thursday, and shares fell in after-hours trading despite strong sales growth. Amazon reported second-quarter earnings of $2.6 billion, or $5.22 a share, up from $5.07 a year ago but lower than analyst estimates.