A federal appeals court on Thursday said the U.S. government cannot force Microsoft Corp. and other companies to turn over customer emails stored on servers outside the United States.