The Subway is a mess primarily because of cronyism, corrupt labor unions and mismanagement on a typical, everyday "these people suck at their job" type. Fixing the MTA is important, but its problems are essentially independent of this Amazon deal.
Why would that be an either-or thing? I'd rather have Amazon here with no tax subsidies so that total tax revenue increases so that there's more money to fix the subways.