The point of the cloud is that it is automated and the development costs are negligible after being amortized over so many servers. If EC2's largest cost is salary then either they haven't reached sufficient scale yet or they're somehow doing it wrong.
Can you explain how salary is subject to Moore's law?