La Palma will have the world’s biggest robotic telescope after UK gives £4m