Extragalactic megahertz-peaked spectrum radio sources at milliarcsecond scales