Running a datacenter, especially at scale, is expensive as hell. Cloud is also expensive, but in return you get the ability to not need to think about hardware anymore. Prior to last week they probably assumed that AWS et. al. wouldn't have just suddenly cut them off, so they didn't factor in that risk except as a distant possibility. Up until a week ago we all were scared of FAATG's power after all and people were still talking about breaking them up.