Biden previously said the US would defend Taiwan if China attempted an invasion.