If you perform a single β-reduction on (λx.x x)(λx.x x), what do you get?

x.x x)(λx.x x)

This term is an "infinite loop". No matter how many β-reductions you do, you keep getting the same thing.