Buying real estate ahead of such an announcement doesn't break any laws (edit: it might have violated employee agreements if Amazon has anything in there about acting on insider info, not an Amazon employee so I cannot comment on that). It's not as if this was a short dated deep out of the money call options play based on insider information (most definitely against the law; don't do this!).