Amazon shares sink 10% afterhours after earnings miss, $200 billion spending plan