Very good spotting, @bxwen19 ! Still, I wouldn't worry about that. There are some 3.3V LDO regulators that have different pinout than AMS1117.
If you're unsure about the 3.3V and 5V roles and think that information on the silkscreen is incorrect, then disconnect the programmer from the device and power it from mains and then carefully check if "5V" is really a 5V pin and "3.3V" is really 3.3V pin. Just to be sure.
Then, disconnect mains (always disconnect mains before doing any programming, never connect mains while doing programming) and use 5V pin as stated before - it's an input of the LDO (AMS1117 or any other LDO).
Helpful post? Buy me a coffee.
If you're unsure about the 3.3V and 5V roles and think that information on the silkscreen is incorrect, then disconnect the programmer from the device and power it from mains and then carefully check if "5V" is really a 5V pin and "3.3V" is really 3.3V pin. Just to be sure.
Then, disconnect mains (always disconnect mains before doing any programming, never connect mains while doing programming) and use 5V pin as stated before - it's an input of the LDO (AMS1117 or any other LDO).