A more accurate cost model would require multiple components in addition to number of transistors that amazon buys.
For example, to fully build an AWS service:
++You need a plot of land for the data center. Do real estate prices follow Moore's Law?
++Concrete and steel to erect the data center building. Do raw building materials follow Moore's Law?
++Energy costs. Does the price of terawatts follow Moore's Law?
++Bandwidth costs. Does the price of network transfers from Tier 1 backbones follow Moore's Law?
++Staffing costs. Do the programmers, system admins, and other techies' salaries paid by amazon follow Moore's Law?
++etc, etc.
If transistor count was the overwhelming cost item for supplying an "AWS" offering, we could then ignore all other component costs as an insignificant rounding error. Is this the case?
[1]https://gigaom.com/2014/04/19/moores-law-gives-way-to-bezoss...