Tesla, posting a crucial profit, unveils Austin factory plan