The word “literally” is an intensifier; do you have the same objection to the use of ‘really’, or ‘actually’? ‘Literally’ was first used to mean “from the text” in the late 17th c. By the early 19th c. it was already fully co-opted as an intensifier.