Artificial intelligence for partial differential equations in computational mechanics: A review