Amazon said Thursday second-quarter profit jumped 48 percent from a year ago to $7.8 billion, but shares in the tech…