Both are correct and have different meanings.
"I come from China"
means you are from China, it is your native country of birth.
The verb in the present tense refers to a fact here.
"I came from China" is not very accurate.
You can rather say:
"Something came from China."
It means it's source of origin is China.