It worked exactly as it is supposed to: it incentivized long tern investment where amazon lost a lot of money because they invested so much.
if you want to tax them on those losses that they rolled forward, you would basically have far less investment.
make up your mind - do you want them to invest and take losses or not invest and pay taxes - you can't do both.