The government says wi-fi is not a priority for passengers, but one expert claims trains could lose custom.