The existence and length of a worker's commute isn't Amazon's fault, nor is it under their control.
The existence and length of the security screenings is.
A better analogy might be employees changing into a required uniform, which (I believe) is also exempted, though obviously does not typically take ~25 minutes every day.
Where I live (another country), employers are required to compensate workers for their commute (vale-transporte).
The workers are compensated for the tickets to the public transport they use. If they need to use more than one (for instance, taking a bus and then the ferry, or a bus and then the train and then another bus), they will be compensated for all these tickets.
> Is the company able to tell workers how to manage their commute?
AFAIK, when there's more than one public transport route, it's the worker who chooses which route they will use.
Are employers allowed to take the location of prospective employees' residences into account when deciding to hire or not?
If I lived across the country, would the employer have to pay for daily plane tickets?
I believe they are.
> If I lived across the country, would the employer have to pay for daily plane tickets?
I don't know anywhere in this country where an airplane is considered public transport, so no (vale-transporte is only for public transport AFAIK).
The European Court of Justice held that the employer is wrong, and if they require you to be on premises, even if sleeping, that's work: https://en.wikipedia.org/wiki/Landeshauptstadt_Kiel_v_Jaeger (this was related to European laws, of course, not American ones)