It isn't safe, it's cost-inefficient and if you have an alternative (which everyone does) then use the alternative.
The alternative?
P2P markets like AgoraDesk, which allows you to trade Bitcoin to-and-from for cash, gift cards and more. The fee is 50-80℅ lower than Bitcoin ATMs, so it's a no brainer to try P2P marketplaces before using an ATM.
In terms of safety, P2P is a lot safer than how ATMs go about their operation.
It is also inconvenient since I have to go out of the safety of my house just to convert my Bitcoin to fiat or vice versa when I can just transact online using either centralized or decentralized exchanges. Besides micro payment processing apps have cryptocurrency features where we can exchange and convert fiat and crypto accordingly.
I am always worried about being scammed on sites like that. The ATM gives you bitcoin when you put in money. What if someone says they didn't get your payment? But you already mailed out the money?
There is a reputation system and an automated escrow system on AgoraDesk to counteract scamming. If you only deal with reputable traders, you will never be scammed.
If you are mailing out money, the buyer/seller will have their coins locked until they receive the cash. If they claim they don't receive it, the team can intervene and review the case. Again, this very rarely happens if you deal with reputable traders because their whole business can stop with one bad review or issue. There's no point in scamming when you can make 3-10% per trade for as long as there is demand.