Amazon closes in on Apple in the $1 trillion market-value stakes