Non-uniqueness of weak solutions to 3D magnetohydrodynamic equations