ABC on Tuesday cancelled the popular US television comedy Roseanne after star Roseanne Barr sparked outrage by comparing a black former Obama administration official to an ape in a tweet.