the bank is only asking you if you’ll be living in the property to find out if it will be owner-occupied. if it’s not owner-occupied (you’re not going to be living there), they look at you and the property differently.
once you develop a relationship with a bank (banker) - WAY DOWN THE ROAD - then they’ll be able to look at your properties from an investment standpoint - as in how much money does the property produce etc.
you renting an apt has nothing to do with whether you can invest in real estate. banks want to know where you’re at - where your money goes and how much you (or the investment property) makes so that their loan can be paid back.
additionally, they’ll always try to see if you own a home so that they can offer you HELOC’s/refi’s and the like.