They're essentially the same thing. Cornbread is baked in a square baking pan, and corn muffins are baked in a muffin pan.