Amazon wasn't doing that.
The contraction in unavoidable. Mania is never good. At some point heads have to come back down to Earth. The further we go into space the harder they crash back to Earth.
If they are not really into tech (and just making money, which is fine by its own right), then they’ll land somewhere else.
Prevent artificial unavailability of jobs. When you release 17k people into the work force you can be sure Amazon will be slow to fill the gap it created. So it holds up hiring. Then those 17k people are going to flock to whatever available role can be acquired. This will extend the interviewing processes and make it harder.
Tech companies and unfair hiring practices are what are leading to our financial collapse.