Foundation, a San Francisco startup, says it is talking with Trump officials about armed humanoid robots as China ramps up its own machines.