Negative gearing is only one piece of the puzzle. There is also a 50% CGT discount if you hold an investment for more than a year.
And yes, it applies to shares too, but it's not possible to get this amount of debt leverage for buying shares.
There is also 100% CGT exemption if the property is owner-occupied. The worst part is that it extends up to 6 years after you move out (e.g. to rent somewhere cheaper). So you can buy a property, live in it for a year (at which point it's deemed primary residence), then rent it out for up to 6 years, move back in for a year, rinse, repeat, and avoid paying any CGT when you sell. Obligatory: none of this is tax advice.
And yes, it applies to shares too, but it's not possible to get this amount of debt leverage for buying shares.
There is also 100% CGT exemption if the property is owner-occupied. The worst part is that it extends up to 6 years after you move out (e.g. to rent somewhere cheaper). So you can buy a property, live in it for a year (at which point it's deemed primary residence), then rent it out for up to 6 years, move back in for a year, rinse, repeat, and avoid paying any CGT when you sell. Obligatory: none of this is tax advice.