Germany defeated the United States in the FIBA World Cup, in the latest instance of the lessening gap between USA basketball and international competition.