Background image doesn't show up in rendered view
A Background Image is an Empty which displays in the viewport.  Because an empty has no volume and surface, it cannot be rendered. 

If you need to render an image in the scene use the Images as Planes addon.