Rumor is that the shareholders meeting is a giant party, a who's-who of the elite world. You can only have that culture if you have a very high barrier to entry. In any case, the high share price ensures a certain class of people in the voting pool: an old-school sense of community and elitism but... hey, you can't argue that it doesn't work.
Not much other reason needed.
It isn't to discriminate on class (which is a definite side-effect), but rather to discriminate on time-horizon. Berkshire plays the long game and has taken great pains to attract/retain long-term shareholders. (As has, to an extent, Amazon)
Almost nobody can afford to day-trade BRK.A. Furthermore, most holders of A probably don't want to sell on any given day.
If you want to trade Berkshire on short timescales, B is available/liquid, but your votes don't count for much.
They do have a different code of class b stock that is more affordable.
Although modern platforms with their fractional shares might negate the advantage a bit.