UK mulls 5G funding switch after Brexit