AP classes are a scam. Duel enrollment and CLEP exams are the way to go.
AP classes have become a scam. 40 years ago when I was in high school, I took several AP classes and did well enough on the exams to get lots of college credit and graduate early. They hardly do that anymore with AP exams now (the University of California system remains the exception)--perhaps some exemptions at best.
I am skeptical that colleges "hardly" accept AP exams for class credit nowadays. At my alma mater, the University of Maryland, I was able to use AP exams to amass three semesters' worth of credits.
The chart posted by the University of Maryland for the 2021–22 school year shows that almost every AP exam was accepted for class credit. I would imagine that this is normal. What evidence do you have that it is not?