The facts are, your grades in community college courses DO factor into your AMCAS GPA whereas AP courses do not. Both AP credits and community college credits can fulfill prereqs for medical school.
I did both. I was lucky and my high school paid for my courses at Saint Norbert College while I was in high school and I definitely enjoyed those courses more than AP. Both are extremely valuable. Get as many college credits completed before going to college! This will make double-majoring easier, give you more time to take really interesting courses, and/or give you more time to work a job, get involved in research, etc.