Months of Ukrainian attacks on targets ranging from energy infrastructure to online retailers deep inside Russia have prompted moves to seek relief by relocating some facilities to Kazakhstan, which has tried to balance its ties to Moscow with a desire to remain neutral on the Ukraine war.