I'm not sure it's something the government wants to or can fix.
Many apartments that are being rented are those that house people otherwise, Paris being very well known for emptying out in July/August. For those that are being held back to rent, it can probably be hard to know what's the truth, "we didn't find a tenant" versus "we didn't want to find a tenant."
Also, I think there's also a benefit to the government, as they want to have this empty short-term housing stock available for tourists coming in. A lot of money is being invested in the games, it's important to get the tourism money to make it profitable.