Xpeng plans to mass produce humanoid robots and flying cars for the consumer market by the end of next year.