Amazon’s year-long pursuit of new office space highlighted just how much billion-dollar companies can get from taxpayers.