I think for some years, companies didn't realize how high the cost of running on EC2/S3 actually is compared to, say, a dedicated rack colocated somewhere...
But this ignores the cost of paying someone to setup/maintain that rack, cost to fix the server when something goes wrong, etc.
Setup/maintenance of physical infrastructure has a cost too.