You borrow via a separate loan, specifically for the purposes of buying an investment property. This loan would be secured against your PPOR, but it's purpose is for investment and this it is tax deductable.
This is a very commonly used technique for people to start investing in property.