Pep Guardiola praised Phil Foden after scoring having come on as a late subtitute, but apologised for not giving the youngster enough playing time.