Amazon announces it is splitting its "second headquarters" between New York City and northern Virginia, investing some $5 billion in the two locations for the US online giant.