Amazon is taking over the package rooms of some of the country’s largest apartment landlords, in a move that could help consolidate its control over how goods make it from the warehouse floor to the front door.