Deformed symmetries in noncommutative and multifractional spacetimes