Amazon.com Inc. is the world’s first public company to lose a trillion dollars in market value as a combination of rising inflation, tightening monetary policies and disappointing earnings updates triggered a historic selloff in the stock this year.