In "shrimp fried rice", "shrimp" is a noun adjunct [1], which is when you use a noun as an adjective.
The charming ambiguity comes from it being unclear whether "shrimp" is an adjunct noun modifying "fried rice" ("shrimp fried-rice") or modifying the past participle verb "fried" ("shrimp-fried rice").