Rory McIlroy took out his frustration on the sand after chipping into the next bunker on the fifth hole at the US Open.