Actual production at Tesla's battery "gigafactory" is only around 23GWh/yr.[1] That puts them well behind BYD and Contemporary Amperex Technology. About five other companies have battery factories in the 10-100GWh/yr range under construction or operating.
[1] https://electrek.co/2019/04/14/tesla-gigafactory-1-battery-c...