Amazon said Thursday it was bailing on locating its new campus in Queens.