The corner indicates which modifier (combo) is needed to get that symbol.
While letter keys produce lower-case letters without any modifier, the tradition had been to print upper-case letters on letter keys.
So, the upper-case legends are in the upper left corner because you get those with Shift.
I think it was DEC who started the trend with having the legends left-aligned / upper left corner on the DEC LK201. Now, it did not have any Alt key though...
I haven't used an original IBM PC since the '80s, so please correct me if I'm wrong, but I think that the left Alt could have been used as Alt Gr originally. Some early non-English layouts on the Model F and clones had the English layout symbol in the right columns and I think it was through Alt that they were accessed. Amiga did it that way anyway and I think they had copied IBM.