This is RNG-heavy, so collect plenty of coins in the main levels before going for it. Once you have a good-sized stockpile, you’ll want to enter PlayStation Labo via the PS1 you find in the central hub (behind you whenever you return there). In the very back is a door that leads to a gacha machine; it costs 100 coins per pull. Just keep pulling new ones with your left trigger and opening them with the right and you’ll eventually get the trophy.