If 1000 people share ownership of multistorey building also the land the building stands on, also the land tax, also roof, walls, infrastructure, it's bound to be far cheaper than 5 houses with 20 people at most occupying same space.
Taxes are typically levied on the value of each housing unit.
I'm no sure how land tax works in the US but in my country it is calculated by multiplying tax rate for given region by area of the plot and then divided between people who own the plot. Share is usually proportional to the area of the buildings or parts of them they own on this plot.