I’ve been upgraded for free to Business class twice. Both times on different airlines (once on Emirates, another time on Qatar), and without me asking. What was common is that I was traveling alone, was registered on their frequent flyer program, and both the flights were packed full.