I'm an Amazon employee and I can confirm that I didn't have to take any kind of personality test when I applied here.
I was also encouraged to apply to IBM via a friend of a friend, and while I didn't have to take a personality test for them, I did have to fill out a questionnaire asking me about my years of experience in various topics. I was automatically rejected by their system for not having X years of experience in language/framework Y. I didn't find this quite as bizarre as rejecting a brilliant candidate due to some personality test, but I definitely found it a similarly poor experience. It was weird to run into an issue that seems to be brought up every time developers talk about poor interview/recruiting practices.
The only time I can remember actually filling out any kind of personality test when applying for a job was when I applied to McDonalds as a kid, which echoes the GP's point.