Foreigners buying property are not tourists. I would say that's a way bigger issue than tourism.
Even if it was only local people making money on housing this would be a net negative to local residents. Housing that exists is placed on the "global" market rather than the local one. Unavailable to anyone but tourists.
https://www.nytimes.com/2017/07/21/upshot/when-the-empty-apa...
Not all of them, but certainly many are. Plus they're often also buying to rent out to tourists.