As a 100% Linux user with good memories of that era (flying chair, Linux==cancer, etc.) I may be the best person here to actually defend Ballmer, having for sure no hidden interests in doing that.
Everything changed in those years: Google was cool, Linux desktop almost non existent, cryptocurrency not even in the head of its creator, AI was a myth and the best voice recognition could offer was the hilarious "double the killer" demonstration [1]. How can we compare CEOs actions separated by two decades? Ballmer did what was perceived as useful for its company back then just as Nadella is doing that now. Perspectives have changed, hence companies and their CEOS had to adapt. I'm 100% sure that if Ballmer were MS CEO today, he would include advertisements as well, as today putting advertisements in every free corner of the known Universe is perceived as acceptable, if not necessary, which was not the case 20 years back.