The territory’s apparent barrenness belies its richness in key 21st-century resources — and this isn’t the first time the United States has tried to take it.