I found some examples, the key caps you mentioned, made with two-shot injection moulding but the text on them looks imprecise and has rounded corners. The iPhone back cover has really precise and sharp text. The small text is also probably too small for that method.