To remain relevant, Pixar has to change with pop culture. And, like it or not, metal/rock is part of pop culture. Saying a certain genre does not belong in a children's film at face value seems silly to me.
Plus, heavy metal is obviously beneficial for some (www.telegraph.co.uk).