If it's basic grammar, then I find it rather confusing.
And I would say, ничего is used as Accusative of ничто in the presented examples.
Compare to analogous constructs:
Я ничего не знаю
Я не...