Right when you start the level Medical Pavilion, walk forward towards the foyer and make a U-turn to the left and you will see a door with a security bot jammed between the doors. Hacking this bot will unlock
and will now allow you to hack other things in the game. You will notice a vending machine right next to that door. Hack it via the mini-game or buy it out for $10 and the achievement is yours. There are many other vending machines in the game but this will be your first opportunity to get this trophy.