Planets, Planetary Nebulae, and Intermediate Luminosity Optical Transients (ILOTs)