SAT subject tests cover high school level material, while AP exams cover more advanced material (typically college frosh level material).
For foreign languages, there is considerable overlap in the level of material covered, because both high school and college students can start in beginner courses, although college courses will cover material faster (a semester of college foreign language is often equivalent to a year or more of high school foreign language).