Seven times Formula One champion Sir Lewis Hamilton received his knighthood for services to motorsport.