Lewis Hamilton finished just under three-tenths off polesitter at Chinese GP after his sprint race pole.