Accounting for planet-shaped planetary nebulae