Competition is seriously hurting Amazon and it needs to increase spending just to keep up with the market. The picture is getting worse: more spending, steeper decline in margins.