It's reserved for the purpose of documentation/illustrations (especially RFCs themselves) without fear of changes/invalid domains/directing mass traffic. It's also useful for establishing an idiom for those RFC examples.
[1] https://www.ietf.org/rfc/rfc2606.txt
[2] https://en.wikipedia.org/wiki/Example.com