In after-hours trading, Amazon's stock price rose by 12.8%, increasing its market value by $300 billion