The Treasurer has warned of a “big threat” spooking investors eyeing an up-and-coming sector in Australia.