Sparked by a plunge in gasoline and energy costs, wholesale prices dropped for the first time in two years in a sign of easing inflation, the Labor Department said.