Amazon said Thursday it is looking to spend more than $5 billion to build another headquarters in North America.