Mario Balotelli has apologised for a tweet in which was perceived to contain anti-semitic and racist content.