They started the 19-20 season well and was in top4 by winther if I remember right, then they lost pretty much all games in the whole calender year. Thats why it's possible.
Throughout the years they sold the likes of Neuer, Draxler, Sane, Kehrher for pretty decent amounts of money? Considering its fanbase also they should be financially good.