Can you get meningitis from accidentally eating mold?

NO. Mold is ubiquitous in all of our foods. Even food that do not appear moldy actually have some level of mold on them. Mold is essentially fungus. And fungal meningitis occurs among individuals who are usually immunocompromised (hiv patients, bone marrow transplant patients etc.). You will not get meningitis from eating a moldy apple if you are healthy.
No. If this were possible, there would be a lot of meningitis. The common molds you meet daily aren't really pathogens, especially for those with reasonable immunity.